1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-09-19 21:25:36 +01:00

Merge pull request #18 from AndrewYongZhenNing/develop

Changed linear model's parameters
This commit is contained in:
Antonin Portelli 2020-05-08 18:53:05 +01:00 committed by GitHub
commit 2b9508c20f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;