1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-11-10 00:45:36 +00:00

Swapped p[0] -> p[1] such that p[0] is always the effective mass parameter.

This commit is contained in:
Andrew Zhen Ning Yong 2020-05-07 17:08:12 +01:00
parent 3602bbd368
commit 417e068485

View File

@ -117,7 +117,7 @@ DoubleModel CorrelatorModels::makeLinearModel(void)
mod.setFunction([](const double *x, const double *p)
{
return p[0] + p[1]*x[0];
return p[1] + p[0]*x[0];
}, 1, 2);
return mod;