mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2024-11-10 00:45:36 +00:00
Merge pull request #18 from AndrewYongZhenNing/develop
Changed linear model's parameters
This commit is contained in:
commit
2b9508c20f
@ -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