diff options
Diffstat (limited to 'core/optimizer.hpp')
-rw-r--r-- | core/optimizer.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/optimizer.hpp b/core/optimizer.hpp index 6b146cf..9ae2860 100644 --- a/core/optimizer.hpp +++ b/core/optimizer.hpp @@ -441,7 +441,7 @@ namespace opt_utilities { if(p_func_obj==0) { - throw target_function_undefined(); + throw object_function_undefined(); } return p_func_obj->eval(x); } @@ -460,7 +460,7 @@ namespace opt_utilities } if(p_func_obj==0) { - throw target_function_undefined(); + throw object_function_undefined(); } return p_opt_method->optimize(); } |