diff options
author | Ulrich Bauer <mail@ulrich-bauer.org> | 2019-07-02 11:51:43 +0200 |
---|---|---|
committer | Ulrich Bauer <mail@ulrich-bauer.org> | 2019-07-02 11:51:43 +0200 |
commit | dcec6219f9bb245fa265063c6dd1c9d06d15aab0 (patch) | |
tree | 91673432e1ff9e044f250e3953d646351a901337 | |
parent | f7ece0c11c29fe676ea4e03c27035db0fde18e4b (diff) |
fixed misplaced call to reduction_matrix.append_column
-rw-r--r-- | ripser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -554,6 +554,8 @@ public: << "\r" << std::flush; #endif + reduction_matrix.append_column(); + std::priority_queue<diameter_entry_t, std::vector<diameter_entry_t>, greater_diameter_or_smaller_index<diameter_entry_t>> working_reduction_column, working_coboundary; @@ -589,8 +591,6 @@ public: pivot_column_index.insert( std::make_pair(get_index(pivot), index_column_to_reduce)); - reduction_matrix.append_column(); - const coefficient_t inverse = multiplicative_inverse[get_coefficient(pivot)]; while (true) { |