aboutsummaryrefslogtreecommitdiffstats
path: root/methods
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-01-30 17:07:53 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-01-30 17:07:53 +0000
commit22e026dac6c0a2225e3adb3c9ee336fafaa2e366 (patch)
tree17f34764f898685bade21ecf3fca780ad618445d /methods
parent17377ca83623b8790192cc7703d37970d6da069e (diff)
downloadopt-utilities-22e026dac6c0a2225e3adb3c9ee336fafaa2e366.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@10 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'methods')
-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;