Commit 2a3da3fb authored by Hahn, Steven's avatar Hahn, Steven
Browse files

Merge pull request #15720 from mantidproject/ComptonProfile_Coverity_Fix

Fix Coverity defect 1353543
parents 3818862a bf7b1a21
......@@ -29,8 +29,7 @@ const char *MASS_NAME = "Mass";
ComptonProfile::ComptonProfile()
: API::ParamFunction(), API::IFunction1D(), m_log("ComptonProfile"),
m_wsIndex(0), m_voigt(), m_resolutionFunction(), m_yspace(), m_modQ(),
m_e0() {
m_e0(), m_mass(0.0) {
using namespace Mantid::API;
m_resolutionFunction = boost::dynamic_pointer_cast<VesuvioResolution>(
FunctionFactory::Instance().createFunction("VesuvioResolution"));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment