diff options
author | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2011-01-27 16:57:22 +0000 |
---|---|---|
committer | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2011-01-27 16:57:22 +0000 |
commit | 37951dd29e4f89cc5d21707e91ec2b091fd7953a (patch) | |
tree | 940d2b8cc0ad7917b7e3138194936252c88b7c83 | |
parent | 6b405dfa254e911494c7a75d6f458d1a59f77888 (diff) | |
download | opt-utilities-37951dd29e4f89cc5d21707e91ec2b091fd7953a.tar.bz2 |
git-svn-id: file:///home/svn/opt_utilities@169 ed2142bd-67ad-457f-ba7c-d818d4011675
-rw-r--r-- | interface/opt.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/opt.cc b/interface/opt.cc index 49113a1..7161cca 100644 --- a/interface/opt.cc +++ b/interface/opt.cc @@ -139,7 +139,7 @@ extern "C" } try { - std::auto_ptr<dopt::model> p(opt_utilities::get_model<double,double,std::vector<double>,std::string>(model_name)); + const dopt::model* p(opt_utilities::get_model<double,double,std::vector<double>,std::string>(model_name)); iter->second.fit.set_model(*p); return 0; } |