summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Bauer <ulrich.bauer@tum.de>2016-07-17 13:28:03 +0200
committerUlrich Bauer <ulrich.bauer@tum.de>2016-07-17 16:16:25 +0200
commitae581881d2c36d276a42f58bc3f6dc637f45ed47 (patch)
tree243bdac4b6d4aa6583fe6546e2716f64a1d96db4
parenta41eb8f874b1b1e96f279792bb8ae6633b8b0bde (diff)
fixed bug introduced during cleanup
-rw-r--r--ripser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripser.cpp b/ripser.cpp
index a607cef..1b87dff 100644
--- a/ripser.cpp
+++ b/ripser.cpp
@@ -490,7 +490,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