From 3fcb4f104a8b81937f93ef4b298dd51e3c1eec94 Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Sat, 10 Oct 2009 16:33:18 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@78 ed2142bd-67ad-457f-ba7c-d818d4011675 --- methods/powell/linmin.hpp | 2 +- methods/powell/powell_method.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'methods') diff --git a/methods/powell/linmin.hpp b/methods/powell/linmin.hpp index bde12c6..962b052 100644 --- a/methods/powell/linmin.hpp +++ b/methods/powell/linmin.hpp @@ -16,7 +16,7 @@ namespace opt_utilities const func_obj* pfoo; func_adaptor(){} func_adaptor(const func_adaptor&) - :p1(),xi1(),pfoo(0) + :func_obj(),p1(),xi1(),pfoo(0) {} public: diff --git a/methods/powell/powell_method.hpp b/methods/powell/powell_method.hpp index 1562fdf..0ec095c 100644 --- a/methods/powell/powell_method.hpp +++ b/methods/powell/powell_method.hpp @@ -175,7 +175,7 @@ namespace opt_utilities }; powell_method(const powell_method& rhs) - :p_fo(rhs.p_fo),p_optimizer(rhs.p_optimizer), + :opt_method(rhs),p_fo(rhs.p_fo),p_optimizer(rhs.p_optimizer), start_point(rhs.start_point), end_point(rhs.end_point), ncom(rhs.ncom), -- cgit v1.2.2