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:
parent
3602bbd368
commit
417e068485
@ -117,7 +117,7 @@ DoubleModel CorrelatorModels::makeLinearModel(void)
|
|||||||
|
|
||||||
mod.setFunction([](const double *x, const double *p)
|
mod.setFunction([](const double *x, const double *p)
|
||||||
{
|
{
|
||||||
return p[0] + p[1]*x[0];
|
return p[1] + p[0]*x[0];
|
||||||
}, 1, 2);
|
}, 1, 2);
|
||||||
|
|
||||||
return mod;
|
return mod;
|
||||||
|
Loading…
Reference in New Issue
Block a user