diff options
author | Ulrich Bauer <ulrich.bauer@tum.de> | 2016-05-10 23:37:34 +0200 |
---|---|---|
committer | Ulrich Bauer <ulrich.bauer@tum.de> | 2016-05-10 23:37:34 +0200 |
commit | 5dabdd082bbccfb3b8e92bd084a1d75d21760d1a (patch) | |
tree | 96be911d8ba235fb8f8897ea5561efead19a04b2 | |
parent | c2516e93840719016cea2a304f29085d29bfd82d (diff) |
cleanup
-rw-r--r-- | ripser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |