From f11adda11d1275bcff45b20c15194d7a76bb6b59 Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Sun, 23 Aug 2009 13:08:26 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@54 ed2142bd-67ad-457f-ba7c-d818d4011675 --- methods/aga/aga.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'methods/aga/aga.hpp') diff --git a/methods/aga/aga.hpp b/methods/aga/aga.hpp index f87d215..577e526 100644 --- a/methods/aga/aga.hpp +++ b/methods/aga/aga.hpp @@ -146,7 +146,6 @@ namespace opt_utilities uni_rand(get_element(lower_bound,j), get_element(upper_bound,j)) ); - } } @@ -186,7 +185,7 @@ namespace opt_utilities sum+=samples[i].v; } - std::sort(samples.begin(),samples.end(),vp_comp >()); + std::sort(samples.begin(),samples.end(),vp_comp()); if(sum2/samples.size()-pow(sum/samples.size(),2)p; } -- cgit v1.2.2