mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2025-04-10 19:20:44 +01:00
For 'cst' model, changed bug from x[0] -> p[0].
This commit is contained in:
parent
3e70792a06
commit
e944f9c4aa
@ -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");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user