1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-11-14 17:55:37 +00:00

Merge remote-tracking branch 'fork/develop' into develop

This commit is contained in:
AndrewYongZhenNing 2021-05-21 15:33:52 +01:00
commit 2b52ee4512

View File

@ -323,7 +323,6 @@ SampleFitResult XYSampleData::fit(std::vector<Minimizer *> &minimizer,
{ {
sampleResult = data_.fit(*(minimizer.back()), initCopy, v); sampleResult = data_.fit(*(minimizer.back()), initCopy, v);
chi2PerDof = sampleResult.getChi2PerDof(); chi2PerDof = sampleResult.getChi2PerDof();
checkChi2PerDof(chi2PerDof, badSampleFits);
} }
result[s] = sampleResult; result[s] = sampleResult;
result.chi2_[s] = sampleResult.getChi2(); result.chi2_[s] = sampleResult.getChi2();
@ -331,7 +330,6 @@ SampleFitResult XYSampleData::fit(std::vector<Minimizer *> &minimizer,
{ {
result.model_[j].resize(nSample_); result.model_[j].resize(nSample_);
result.model_[j][s] = sampleResult.getModel(j); result.model_[j][s] = sampleResult.getModel(j);
} }
} }
} }