diff options
Diffstat (limited to 'models/mul_model.hpp')
-rw-r--r-- | models/mul_model.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/models/mul_model.hpp b/models/mul_model.hpp index 0e64c1b..b5cc06b 100644 --- a/models/mul_model.hpp +++ b/models/mul_model.hpp @@ -33,13 +33,13 @@ namespace opt_utilities for(int i=0;i<np1;++i) { param_info<Tp,Tstr> p(m1.get_param_info(i)); - param_info<Tp,Tstr> p1(p.get_name()+"1",p.get_default_value()); + param_info<Tp,Tstr> p1(p.get_name()+"1",p.get_value()); this->push_param_info(p1); } for(int i=0;i<np2;++i) { param_info<Tp,Tstr> p(m2.get_param_info(i)); - param_info<Tp,Tstr> p2(p.get_name()+"2",p.get_default_value()); + param_info<Tp,Tstr> p2(p.get_name()+"2",p.get_value()); this->push_param_info(p2); } } @@ -55,7 +55,7 @@ namespace opt_utilities for(int i=0;i<np1;++i) { param_info<Tp,Tstr> p(rhs.pm1->get_param_info(i)); - param_info<Tp,Tstr> p1(p.get_name()+"1",p.get_default_value()); + param_info<Tp,Tstr> p1(p.get_name()+"1",p.get_value()); this->push_param_info(p1); } } @@ -66,7 +66,7 @@ namespace opt_utilities for(int i=0;i<np2;++i) { param_info<Tp,Tstr> p(rhs.pm2->get_param_info(i)); - param_info<Tp,Tstr> p2(p.get_name()+"2",p.get_default_value()); + param_info<Tp,Tstr> p2(p.get_name()+"2",p.get_value()); this->push_param_info(p2); } } @@ -96,7 +96,7 @@ namespace opt_utilities for(int i=0;i<np1;++i) { param_info<Tp,Tstr> p(rhs.pm1->get_param_info(i)); - param_info<Tp,Tstr> p1(p.get_name()+"1",p.get_default_value()); + param_info<Tp,Tstr> p1(p.get_name()+"1",p.get_value()); this->push_param_info(p1); } } @@ -107,7 +107,7 @@ namespace opt_utilities for(int i=0;i<np2;++i) { param_info<Tp,Tstr> p(rhs.pm2->get_param_info(i)); - param_info<Tp,Tstr> p2(p.get_name()+"2",p.get_default_value()); + param_info<Tp,Tstr> p2(p.get_name()+"2",p.get_value()); this->push_param_info(p2); } } |