From fccbe113dfa498dbd2059429605c645087c194c9 Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Wed, 29 Apr 2009 17:05:01 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@34 ed2142bd-67ad-457f-ba7c-d818d4011675 --- interface/opt.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'interface') diff --git a/interface/opt.cc b/interface/opt.cc index d129173..0e2f3b4 100644 --- a/interface/opt.cc +++ b/interface/opt.cc @@ -9,7 +9,7 @@ using namespace std; using namespace opt_utilities; -const static int max_fit_space_num=100; +static const int max_fit_space_num=100; struct fit_space; static map fit_space_map; struct fit_space @@ -128,6 +128,7 @@ void freeze_param_(const int& nfit,const char* pname) } catch(opt_exception& e) { + (void)e; iter->second.fit.set_param_modifier(fp); } } @@ -147,6 +148,7 @@ void thaw_param_(const int& nfit,const char* pname) } catch(opt_exception& e) { + (void)e; //iter->second.fit.set_param_modifier(fp); } } -- cgit v1.2.2