mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2026-01-14 21:19:33 +00:00
XY*Data: dog is now a double
This commit is contained in:
@@ -32,14 +32,14 @@ double FitResult::getChi2(void) const
|
||||
return chi2_;
|
||||
}
|
||||
|
||||
Index FitResult::getNDof(void) const
|
||||
{
|
||||
return nDof_;
|
||||
}
|
||||
|
||||
double FitResult::getChi2PerDof(void) const
|
||||
{
|
||||
return chi2_/static_cast<double>(nDof_);
|
||||
return chi2_/getNDof();
|
||||
}
|
||||
|
||||
double FitResult::getNDof(void) const
|
||||
{
|
||||
return static_cast<double>(nDof_);
|
||||
}
|
||||
|
||||
const DoubleFunction & FitResult::getModel(const Index j) const
|
||||
@@ -219,7 +219,6 @@ FitResult XYStatData::fit(Minimizer &minimizer, const DVec &init,
|
||||
{
|
||||
chi2_.requestInit();
|
||||
}
|
||||
|
||||
// initial parameters
|
||||
const Index nPoint = getNFitPoint();
|
||||
DVec fullInit = init;
|
||||
|
||||
Reference in New Issue
Block a user