Skip to content
Snippets Groups Projects
Commit 6d82195a authored by Pospelov, Gennady's avatar Pospelov, Gennady
Browse files

Compilation fix for gcc 4.1.2

parent 659cd1f1
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ void TestToySimulation::execute()
m_fitSuite->addFitParameter("*/par2", 0.0, 0.01, AttLimits::lowerLimited(0.0));
ChiSquaredModule chi_module;
chi_module.setChiSquaredFunction(SquaredFunctionGaussianError(m_sigma_noise) );
chi_module.setChiSquaredFunction(new SquaredFunctionGaussianError(m_sigma_noise) );
m_fitSuite->addSimulationAndRealData(*m_simulation, *m_real_data, chi_module);
m_fitSuite->runFit();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment