summaryrefslogtreecommitdiff
path: root/include/phat/representations/vector_heap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/phat/representations/vector_heap.h')
-rw-r--r--include/phat/representations/vector_heap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/phat/representations/vector_heap.h b/include/phat/representations/vector_heap.h
index 78501f0..db0420f 100644
--- a/include/phat/representations/vector_heap.h
+++ b/include/phat/representations/vector_heap.h
@@ -160,5 +160,11 @@ namespace phat {
if( 2 * inserts_since_last_prune[ target ] > ( index )matrix[ target ].size() )
_prune( target );
}
+
+ // finalizes given column
+ void _finalize( index idx ) {
+ _prune( idx );
+ }
+
};
}