From af31d1564dd0ed5b56327cfaf48f16be9e73f0ca Mon Sep 17 00:00:00 2001 From: Andrew Zhen Ning Yong Date: Fri, 21 May 2021 15:33:34 +0100 Subject: [PATCH] Previous commit failed to compile: needed to remove leftover lines. --- lib/Statistics/XYSampleData.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/Statistics/XYSampleData.cpp b/lib/Statistics/XYSampleData.cpp index 1d9b0cb..ae5edba 100644 --- a/lib/Statistics/XYSampleData.cpp +++ b/lib/Statistics/XYSampleData.cpp @@ -323,7 +323,6 @@ SampleFitResult XYSampleData::fit(std::vector &minimizer, { sampleResult = data_.fit(*(minimizer.back()), initCopy, v); chi2PerDof = sampleResult.getChi2PerDof(); - checkChi2PerDof(chi2PerDof, badSampleFits); } result[s] = sampleResult; result.chi2_[s] = sampleResult.getChi2(); @@ -331,7 +330,6 @@ SampleFitResult XYSampleData::fit(std::vector &minimizer, { result.model_[j].resize(nSample_); result.model_[j][s] = sampleResult.getModel(j); - } } }