From 5dabdd082bbccfb3b8e92bd084a1d75d21760d1a Mon Sep 17 00:00:00 2001 From: Ulrich Bauer Date: Tue, 10 May 2016 23:37:34 +0200 Subject: cleanup --- ripser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ripser.cpp') diff --git a/ripser.cpp b/ripser.cpp index ad1f028..7ff98da 100644 --- a/ripser.cpp +++ b/ripser.cpp @@ -624,8 +624,8 @@ void compute_pairs( reduction_matrix.append(); #endif - // initialize reduction_matrix as identity matrix #ifdef ASSEMBLE_REDUCTION_MATRIX + // initialize reduction_matrix as identity matrix reduction_matrix.push_back(make_diameter_entry(column_to_reduce, 1)); #else #ifdef USE_COEFFICIENTS @@ -714,9 +714,9 @@ void compute_pairs( #endif #endif + #ifdef ASSEMBLE_REDUCTION_MATRIX // replace current column of reduction_matrix (with a single diagonal 1 entry) // by reduction_column (possibly with a different entry on the diagonal) - #ifdef ASSEMBLE_REDUCTION_MATRIX reduction_matrix.pop_back(); while (true) { diameter_entry_t e = pop_pivot(reduction_column, modulus); -- cgit v1.2.3