diff options
author | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2012-09-30 06:50:44 +0000 |
---|---|---|
committer | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2012-09-30 06:50:44 +0000 |
commit | 0055ca0cb97d3c30f5a63666056d0c8fb3ea0317 (patch) | |
tree | 0a1bd394c6bdf037bbda55cb79714c4b00027371 /interface | |
parent | 03fed9caf531c13f5a6d8ba4b581f980fab2c8e6 (diff) | |
download | opt-utilities-0055ca0cb97d3c30f5a63666056d0c8fb3ea0317.tar.bz2 |
git-svn-id: file:///home/svn/opt_utilities@248 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'interface')
-rw-r--r-- | interface/opt_io.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/interface/opt_io.hpp b/interface/opt_io.hpp index f81a14e..deeeeb5 100644 --- a/interface/opt_io.hpp +++ b/interface/opt_io.hpp @@ -39,6 +39,14 @@ namespace opt_utilities try { os<<f.get_model().get_type_name()<<"\n"; + os<<"Current model parameters:\n"; + os<<"==========================\n"; + for(int i=0;i<f.get_num_params();++i) + { + const param_info<Tp,Tstr>& pinfo=f.get_param_info(i); + os<<pinfo.get_name()<<"=\t"<<pinfo.get_value()<<"\n"; + } + os<<"==========================\n"; } catch(const model_not_defined& e) { |