diff options
author | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2009-10-28 16:32:42 +0000 |
---|---|---|
committer | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2009-10-28 16:32:42 +0000 |
commit | 4f7f2c239904be0af4ee96d1565dd336d2e287a9 (patch) | |
tree | 20c99974bf972813442a1dcb72684805a30abbdf /example | |
parent | 3de58cdbfed2bedef00f791994398b5ba13321f4 (diff) | |
download | opt-utilities-4f7f2c239904be0af4ee96d1565dd336d2e287a9.tar.bz2 |
git-svn-id: file:///home/svn/opt_utilities@88 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'example')
-rw-r--r-- | example/Makefile | 4 | ||||
-rw-r--r-- | example/test_fitter.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/example/Makefile b/example/Makefile index dc05276..fe3e168 100644 --- a/example/Makefile +++ b/example/Makefile @@ -4,10 +4,10 @@ all:$(target) test_optimizer:test_optimizer.cpp - g++ -o $@ $< -I ../ -O2 -g + g++ -o $@ $< -I ../ -O3 -g test_fitter:test_fitter.cpp - g++ -o $@ $< -I ../ -O2 -g + g++ -o $@ $< -I ../ -O3 -g clean: rm -f $(target) 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) |