From 6e3719e18c8ced1f4c93c4073535781165e52412 Mon Sep 17 00:00:00 2001 From: "jan.reininghaus" Date: Mon, 7 Apr 2014 09:57:46 +0000 Subject: bugfix for heap_pivot_column git-svn-id: https://phat.googlecode.com/svn/trunk@152 8e3bb3c2-eed4-f18f-5264-0b6c94e6926d --- include/phat/representations/heap_pivot_column.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- cgit v1.2.3