summaryrefslogtreecommitdiff
path: root/include/phat/algorithms/row_reduction.h
diff options
context:
space:
mode:
authorulrich.bauer@gmail.com <ulrich.bauer@gmail.com@8e3bb3c2-eed4-f18f-5264-0b6c94e6926d>2014-06-03 13:31:14 +0000
committerulrich.bauer@gmail.com <ulrich.bauer@gmail.com@8e3bb3c2-eed4-f18f-5264-0b6c94e6926d>2014-06-03 13:31:14 +0000
commitc95e71eef54cd36ba206e497d564b96682b2e926 (patch)
tree5cf69b5fbb2f99f5bb16ccc5ce1c019a077fe930 /include/phat/algorithms/row_reduction.h
parente88ddfc7854ee6eaa234ecffb4743522d76bf564 (diff)
finalize
git-svn-id: https://phat.googlecode.com/svn/trunk@182 8e3bb3c2-eed4-f18f-5264-0b6c94e6926d
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++ ) {