From b025e3add3aeb1e5e79ba167398fbce8f4d75b21 Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Sat, 4 Apr 2009 17:03:23 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@17 ed2142bd-67ad-457f-ba7c-d818d4011675 --- models/pow_model.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'models') diff --git a/models/pow_model.hpp b/models/pow_model.hpp index 79d7be8..0493303 100644 --- a/models/pow_model.hpp +++ b/models/pow_model.hpp @@ -22,11 +22,11 @@ namespace opt_utilities private: model* pm1; - typename element_type_trait::value_type idx; + typename element_type_trait::element_type idx; public: pow_model(const model& m1, - const typename element_type_trait::value_type& index) + const typename element_type_trait::element_type& index) :pm1(m1.clone()),idx(index) { int np1=m1.get_num_params(); @@ -110,7 +110,7 @@ namespace opt_utilities template pow_model pow(const model& m1, const typename element_type_trait:: - value_type& idx) + element_type& idx) { return pow_model(m1,idx); } -- cgit v1.2.2