Commit f7a9a64d authored by Alois SCHLOEGL's avatar Alois SCHLOEGL

fix compilation error when compiling with C++14 and later

parent c5b9a7f0
......@@ -191,7 +191,7 @@ double stfnum::lmFit( const Vector_double& data, double dt,
constrains_lm_ub[n_p] = DBL_MAX;
}
if ( can_scale ) {
if (fitFunc.pInfo[n_p].scale == stfnum::noscale) {
if (!fitFunc.pInfo[n_p].scale) {
can_scale = false;
}
}
......
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