From 37951dd29e4f89cc5d21707e91ec2b091fd7953a Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Thu, 27 Jan 2011 16:57:22 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@169 ed2142bd-67ad-457f-ba7c-d818d4011675 --- interface/opt.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interface') 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 p(opt_utilities::get_model,std::string>(model_name)); + const dopt::model* p(opt_utilities::get_model,std::string>(model_name)); iter->second.fit.set_model(*p); return 0; } -- cgit v1.2.2