summaryrefslogtreecommitdiff
path: root/include/phat/representations/heap_pivot_column.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/phat/representations/heap_pivot_column.h')
-rw-r--r--include/phat/representations/heap_pivot_column.h2
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() {