From 0b63947fbfabd84ff383bbae9da46f985b225eab Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Sat, 29 Aug 2009 11:29:20 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@57 ed2142bd-67ad-457f-ba7c-d818d4011675 --- methods/aga/aga.hpp | 29 +++++++++++++++++++++++------ sample_data/linear.dat | 7 +++++++ 2 files changed, 30 insertions(+), 6 deletions(-) create mode 100644 sample_data/linear.dat diff --git a/methods/aga/aga.hpp b/methods/aga/aga.hpp index eda6e07..5dba423 100644 --- a/methods/aga/aga.hpp +++ b/methods/aga/aga.hpp @@ -191,12 +191,21 @@ namespace opt_utilities { return false; } - + pT lb(get_size(samples[0].p)); + pT ub(get_size(samples[0].p)); for(int i=0;i