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

Merge pull request #16 from AndrewYongZhenNing/develop

For 'cst' model in makeConstModel(), changed bug from x[0] -> p[0] .
This commit is contained in:
Antonin Portelli 2020-02-21 15:22:22 +01:00 committed by GitHub
commit 4347511e39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ DoubleModel CorrelatorModels::makeConstModel(void)
mod.setFunction([](const double *x, const double *p __dumb) mod.setFunction([](const double *x, const double *p __dumb)
{ {
return x[0]; return p[0];
}, 1, 1); }, 1, 1);
mod.parName().setName(0, "cst"); mod.parName().setName(0, "cst");