From b4ae5bf85dc7538398fcc9065e81238de452492c Mon Sep 17 00:00:00 2001
From: astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>
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/opt_exception.hpp | 6 +++---
 core/optimizer.hpp     | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/core/opt_exception.hpp b/core/opt_exception.hpp
index 458ff87..e20e209 100644
--- a/core/opt_exception.hpp
+++ b/core/opt_exception.hpp
@@ -37,12 +37,12 @@ namespace opt_utilities
      When objection is not defined in optimizer, and optimizion is performing,
      this exception will be thrown
    */
-  class target_function_undefined
+  class object_function_undefined
     :public opt_exception
   {
   public:
-    target_function_undefined()
-      :opt_exception("target function undefined")
+    object_function_undefined()
+      :opt_exception("object function undefined")
     {}
   };
 
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