From ae581881d2c36d276a42f58bc3f6dc637f45ed47 Mon Sep 17 00:00:00 2001 From: Ulrich Bauer Date: Sun, 17 Jul 2016 13:28:03 +0200 Subject: fixed bug introduced during cleanup --- ripser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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& 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 -- cgit v1.2.3