diff options
author | jan.reininghaus <jan.reininghaus@8e3bb3c2-eed4-f18f-5264-0b6c94e6926d> | 2014-04-07 09:57:46 +0000 |
---|---|---|
committer | jan.reininghaus <jan.reininghaus@8e3bb3c2-eed4-f18f-5264-0b6c94e6926d> | 2014-04-07 09:57:46 +0000 |
commit | 6e3719e18c8ced1f4c93c4073535781165e52412 (patch) | |
tree | 16e176c44aa008307a2265e398658d22b30623eb /include/phat | |
parent | f10cdf88309653299eae5f05391e16d4d1b0e0ad (diff) |
bugfix for heap_pivot_column
git-svn-id: https://phat.googlecode.com/svn/trunk@152 8e3bb3c2-eed4-f18f-5264-0b6c94e6926d
Diffstat (limited to 'include/phat')
-rw-r--r-- | include/phat/representations/heap_pivot_column.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/phat/representations/heap_pivot_column.h b/include/phat/representations/heap_pivot_column.h index f2bf845..d4082e0 100644 --- a/include/phat/representations/heap_pivot_column.h +++ b/include/phat/representations/heap_pivot_column.h @@ -80,7 +80,7 @@ namespace phat { }
bool is_empty() {
- return data.empty();
+ return get_max_index() == -1;
}
void clear() {
|