From 1e204c64161611ff2cd35fb6becf49f7a3e3f6a5 Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Sat, 26 Sep 2009 16:14:01 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@74 ed2142bd-67ad-457f-ba7c-d818d4011675 --- data_sets/shared_table_data_set.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data_sets/shared_table_data_set.hpp') diff --git a/data_sets/shared_table_data_set.hpp b/data_sets/shared_table_data_set.hpp index 380e055..cd2bf55 100644 --- a/data_sets/shared_table_data_set.hpp +++ b/data_sets/shared_table_data_set.hpp @@ -93,7 +93,7 @@ namespace opt_utilities bool erase_data(size_t beg,size_t end) { - if(beg>=0&&beg=0&&beg<=end&&end<=data_vec.size()) { data_vec.erase(data_vec.begin()+beg,data_vec.begin()+end); return true; -- cgit v1.2.2