Commit 07a8ee2c authored by Vesa Oikonen's avatar Vesa Oikonen
Browse files

bug fix in option -1BL

parent 4c3f23c1
......@@ -446,7 +446,7 @@ int main(int argc, char **argv)
ipar.xtol[pi]=fabs(0.001*ipar.xdelta[pi]);
}
if(expnr==2 && baseline!=0) {
int pi=3;
int pi=3; if(fabs(ipar.xfull[1])<fabs(ipar.xfull[3])) pi=1;
ipar.xfull[pi]=ipar.xlower[pi]=ipar.xupper[pi]=ipar.xdelta[pi]=ipar.xtol[pi]=0.0;
}
nloptRemoveEmpties(&ipar);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment