From b4ae5bf85dc7538398fcc9065e81238de452492c Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Sat, 29 Aug 2009 12:51:00 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@58 ed2142bd-67ad-457f-ba7c-d818d4011675 --- core/optimizer.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/optimizer.hpp') 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(); } -- cgit v1.2.2