examples/function/min.rb in gsl-1.15.3 vs examples/function/min.rb in gsl-1.16.0.6
- old
+ new
@@ -12,10 +12,10 @@
gmf = GSL::Min::FMinimizer.alloc(GSL::Min::FMinimizer::BRENT)
gmf.set(humps, m, a, b)
printf("Using %s method\n", gmf.name)
printf("%5s [%9s, %9s] %9s %10s %9s\n", "iter", "lower", "upper", "min",
"err", "err(est)")
-printf("%5d [%.7f, %.7f] %.7f %+.7f %.7f\n",
+printf("%5d [%.7f, %.7f] %.7f %+.7f %.7f\n",
iter, a, b, m, m - m_expected, b - a)
begin
iter += 1
status = gmf.iterate
status = gmf.test_interval(0.0001, 0.0)