diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/optimizer.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/optimizer.hpp b/core/optimizer.hpp index a6e0106..10cfce9 100644 --- a/core/optimizer.hpp +++ b/core/optimizer.hpp @@ -441,7 +441,7 @@ namespace opt_utilities */ const opt_method<rT,pT>& get_opt_method()const { - if(p_opt_method=0) + if(p_opt_method==0) { throw opt_method_undefined(); } |