mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2024-11-10 00:45:36 +00:00
Added else if block for CorrelatorType::linear to set its limits.
This commit is contained in:
parent
e944f9c4aa
commit
bb4e9e1d42
@ -174,6 +174,14 @@ int main(int argc, char *argv[])
|
|||||||
globMin.setLowLimit(p + 1, -10.*fabs(init(p + 1)));
|
globMin.setLowLimit(p + 1, -10.*fabs(init(p + 1)));
|
||||||
globMin.setHighLimit(p + 1, 10.*fabs(init(p + 1)));
|
globMin.setHighLimit(p + 1, 10.*fabs(init(p + 1)));
|
||||||
}
|
}
|
||||||
|
else if(modelPar.type == CorrelatorType::linear)
|
||||||
|
{
|
||||||
|
globMin.setLowLimit(p, -10.*fabs(init(p)));
|
||||||
|
locMin.setLowLimit(p, -10.*fabs(init(p)));
|
||||||
|
globMin.setHighLimit(p, 10.*init(p));
|
||||||
|
globMin.setLowLimit(p + 1, -10.*fabs(init(p + 1)));
|
||||||
|
globMin.setHighLimit(p + 1, 10.*fabs(init(p + 1)));
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
globMin.setLowLimit(p, -10*fabs(init(p)));
|
globMin.setLowLimit(p, -10*fabs(init(p)));
|
||||||
|
Loading…
Reference in New Issue
Block a user