From 22e026dac6c0a2225e3adb3c9ee336fafaa2e366 Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Fri, 30 Jan 2009 17:07:53 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@10 ed2142bd-67ad-457f-ba7c-d818d4011675 --- methods/gsl_simplex/gsl_simplex.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'methods/gsl_simplex') 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="<x, 1), // s->fval, size); } - while (status == GSL_CONTINUE && iter < 100); + while (status == GSL_CONTINUE); /* foo f; -- cgit v1.2.2