diff --git a/Framework/CurveFitting/src/Algorithms/CalculateChiSquared.cpp b/Framework/CurveFitting/src/Algorithms/CalculateChiSquared.cpp index 828b31da11ebf51b0d88fe6d42fb518942a70c1e..ca60b57c9a586abf944b937019b07a76943d1d90 100644 --- a/Framework/CurveFitting/src/Algorithms/CalculateChiSquared.cpp +++ b/Framework/CurveFitting/src/Algorithms/CalculateChiSquared.cpp @@ -250,7 +250,7 @@ public: bool &ok) { auto base = ChebfunBase::bestFitAnyTolerance(lBound, rBound, *this, P, A, - 1e-4, 129, 1.0); + 1.0, 1e-4, 129); ok = bool(base); if (!base) { base = boost::make_shared<ChebfunBase>(10, lBound, rBound, 1e-4);