summaryrefslogtreecommitdiff
path: root/ripser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ripser.cpp')
-rw-r--r--ripser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ripser.cpp b/ripser.cpp
index 7178df8..3661b9c 100644
--- a/ripser.cpp
+++ b/ripser.cpp
@@ -2,11 +2,11 @@
//#define USE_COEFFICIENTS
//#define INDICATE_PROGRESS
-//#define PRINT_PERSISTENCE_PAIRS
+#define PRINT_PERSISTENCE_PAIRS
-//#define FILE_FORMAT_DIPHA
-//#define FILE_FORMAT_UPPER_TRIANGULAR_CSV
//#define FILE_FORMAT_LOWER_TRIANGULAR_CSV
+//#define FILE_FORMAT_UPPER_TRIANGULAR_CSV
+//#define FILE_FORMAT_DIPHA
//#define USE_GOOGLE_HASHMAP
@@ -502,7 +502,7 @@ void compute_pairs(std::vector<diameter_index_t>& columns_to_reduce,
#endif
index_t j = i;
- auto& column_to_add = column_to_reduce;
+ auto column_to_add = column_to_reduce;
// start with a dummy pivot entry with coefficient -1 in order to initialize
// working_coboundary with the coboundary of the simplex with index column_to_reduce