aboutsummaryrefslogtreecommitdiffstats
path: root/interface/opt.cc
diff options
context:
space:
mode:
Diffstat (limited to 'interface/opt.cc')
-rw-r--r--interface/opt.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/opt.cc b/interface/opt.cc
index 0e2f3b4..1025d60 100644
--- a/interface/opt.cc
+++ b/interface/opt.cc
@@ -18,7 +18,7 @@ struct fit_space
/// dopt::model model;
fit_space()
{
- fit.set_method(dopt::powell_method());
+ fit.set_opt_method(dopt::powell_method());
dopt::chisq cq;
dopt::leastsq lsq;
// cq.verbose(true);