aboutsummaryrefslogtreecommitdiffstats
path: root/example/test_fitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'example/test_fitter.cpp')
-rw-r--r--example/test_fitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/test_fitter.cpp b/example/test_fitter.cpp
index 48c4d8c..8da9d86 100644
--- a/example/test_fitter.cpp
+++ b/example/test_fitter.cpp
@@ -44,7 +44,7 @@ int main()
fitter<double,double,std::vector<double>,double,std::string> f;
f.set_model(lin1d());
//f.set_method(powell_method<double,std::vector<double> >());
- f.set_method(aga_method<double,std::vector<double> >());
+ f.set_opt_method(aga_method<double,std::vector<double> >());
default_data_set<double,double> ds;
for(int i=0;i<100;++i)