Commit 65aff99a authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

Minimizer: do not throw on gls error

parent de0edb97
......@@ -158,8 +158,8 @@ public:
if (status_) {
String gslError(gsl_strerror(status_));
String msg("Minimizer::conjugateGradient(...): GSL Error: ");
msg += gslError + "\n";
throw RuntimeError(msg);
std::cerr<<gslError<<"\n";
return -iter;
}
status_ = gsl_multimin_test_gradient (gslDs_->gradient, tolerance);
......
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