diff options
Diffstat (limited to 'methods/powell/linmin.hpp')
-rw-r--r-- | methods/powell/linmin.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/methods/powell/linmin.hpp b/methods/powell/linmin.hpp index 5ab5af0..286405a 100644 --- a/methods/powell/linmin.hpp +++ b/methods/powell/linmin.hpp @@ -14,7 +14,9 @@ namespace opt_utilities const pT p1,xi1; const func_obj<rT,pT>* pfoo; func_adaptor(){} - func_adaptor(const func_adaptor&){} + func_adaptor(const func_adaptor&) + :p1(),xi1(),pfoo(0) + {} public: /* |