aboutsummaryrefslogtreecommitdiffstats
path: root/methods/bfgs/bfgs.hpp
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2011-05-03 17:15:35 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2011-05-03 17:15:35 +0000
commitff3d217744dc6341e965c8a3f6b3037cd2b2cf3b (patch)
tree48552b393c8012779913f81d043c757fb1910bc2 /methods/bfgs/bfgs.hpp
parent12868a2786ec1346d5a0a43c68b772515eb9a163 (diff)
downloadopt-utilities-ff3d217744dc6341e965c8a3f6b3037cd2b2cf3b.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@193 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'methods/bfgs/bfgs.hpp')
-rw-r--r--methods/bfgs/bfgs.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/methods/bfgs/bfgs.hpp b/methods/bfgs/bfgs.hpp
index 0be3cf4..0ed665c 100644
--- a/methods/bfgs/bfgs.hpp
+++ b/methods/bfgs/bfgs.hpp
@@ -43,17 +43,17 @@ namespace opt_utilities
element_type** invBk;
bool bstop;
private:
- const char* do_get_type_name()const
- {
- return "asexual genetic algorithm";
- }
-
rT func(const pT& x)
{
assert(p_fo!=0);
return p_fo->eval(x);
}
+ const char* do_get_type_name()const
+ {
+ return "bfgs";
+ }
+
public:
bfgs_method()
:threshold(1e-5),p_fo(0),p_optimizer(0),