From 772d0888efe11e12c6849e44bdda5c0cf58d39ee Mon Sep 17 00:00:00 2001 From: "jan.reininghaus" Date: Tue, 14 May 2013 13:40:15 +0000 Subject: code cleanup git-svn-id: https://phat.googlecode.com/svn/trunk@86 8e3bb3c2-eed4-f18f-5264-0b6c94e6926d --- include/phat/representations/abstract_pivot_column.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/phat/representations/abstract_pivot_column.h') diff --git a/include/phat/representations/abstract_pivot_column.h b/include/phat/representations/abstract_pivot_column.h index f441537..fbee368 100644 --- a/include/phat/representations/abstract_pivot_column.h +++ b/include/phat/representations/abstract_pivot_column.h @@ -47,8 +47,10 @@ namespace phat { void release_pivot_col() { index idx = idx_of_pivot_cols(); - if( idx != -1 ) + if( idx != -1 ) { + this->matrix[ idx ].clear(); pivot_cols().get_col_and_clear( this->matrix[ idx ] ); + } idx_of_pivot_cols() = -1; } -- cgit v1.2.3