summaryrefslogtreecommitdiff
path: root/include/phat/algorithms/row_reduction.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/phat/algorithms/row_reduction.h')
-rw-r--r--include/phat/algorithms/row_reduction.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/phat/algorithms/row_reduction.h b/include/phat/algorithms/row_reduction.h
index 62528e1..cdd1a8f 100644
--- a/include/phat/algorithms/row_reduction.h
+++ b/include/phat/algorithms/row_reduction.h
@@ -36,6 +36,7 @@ namespace phat {
if( !lowest_one_lookup[ cur_col ].empty() ) {
boundary_matrix.clear( cur_col );
+ boundary_matrix.finalize( cur_col );
std::vector< index >& cols_with_cur_lowest = lowest_one_lookup[ cur_col ];
index source = *min_element( cols_with_cur_lowest.begin(), cols_with_cur_lowest.end() );
for( index idx = 0; idx < (index)cols_with_cur_lowest.size(); idx++ ) {