aboutsummaryrefslogtreecommitdiffstats
path: root/methods/gsl_simplex/gsl_simplex.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'methods/gsl_simplex/gsl_simplex.hpp')
-rw-r--r--methods/gsl_simplex/gsl_simplex.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/methods/gsl_simplex/gsl_simplex.hpp b/methods/gsl_simplex/gsl_simplex.hpp
index 442c9f0..85df28e 100644
--- a/methods/gsl_simplex/gsl_simplex.hpp
+++ b/methods/gsl_simplex/gsl_simplex.hpp
@@ -150,7 +150,9 @@ namespace opt_utilities
status = gsl_multimin_fminimizer_iterate(s);
if (status)
- break;
+ {
+ break;
+ }
//std::cerr<<"threshold="<<threshold<<std::endl;
size = gsl_multimin_fminimizer_size (s);
status = gsl_multimin_test_size (size, threshold);
@@ -166,7 +168,7 @@ namespace opt_utilities
//gsl_vector_get (s->x, 1),
// s->fval, size);
}
- while (status == GSL_CONTINUE && iter < 100);
+ while (status == GSL_CONTINUE);
/*
foo f;