Skip to content
Permalink
Browse files

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

  • Loading branch information...
schloegl committed Jul 2, 2019
1 parent c5b9a7f commit f7a9a64d599ea6ff5d23060a78a89ccbec979d63
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/libstfnum/fit.cpp
@@ -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;
}
}

0 comments on commit f7a9a64

Please sign in to comment.
You can’t perform that action at this time.