diff options
author | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2009-04-29 17:05:01 +0000 |
---|---|---|
committer | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2009-04-29 17:05:01 +0000 |
commit | fccbe113dfa498dbd2059429605c645087c194c9 (patch) | |
tree | 7a889ff5fbcb94ed257ae2f5c58e94392e4a9c4b /interface | |
parent | 825baeacf5c0dea444f6e959b4204ec20bbf6bb1 (diff) | |
download | opt-utilities-fccbe113dfa498dbd2059429605c645087c194c9.tar.bz2 |
git-svn-id: file:///home/svn/opt_utilities@34 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'interface')
-rw-r--r-- | interface/opt.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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<int,fit_space> 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); } } |