mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2026-10-07 16:28:06 +01:00
Swapped p[0] -> p[1] such that p[0] is always the effective mass parameter.
This commit is contained in:
1 parent
3602bbd368
commit
417e068485
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user