From 2a2d42a68d6660949ff681872e03b8e2fa30a377 Mon Sep 17 00:00:00 2001 From: Ulrich Bauer Date: Thu, 29 Aug 2019 10:13:45 +0200 Subject: fixed a bug where in add_coboundary a simplex get added twice to the working_reduction_column --- ripser.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/ripser.cpp b/ripser.cpp index 9479514..1ae62e1 100644 --- a/ripser.cpp +++ b/ripser.cpp @@ -588,7 +588,6 @@ public: for (diameter_entry_t simplex : reduction_matrix.subrange(index_column_to_add)) { set_coefficient(simplex, get_coefficient(simplex) * factor % modulus); - working_reduction_column.push(simplex); add_simplex_coboundary(simplex, dim, working_reduction_column, working_coboundary); } } -- cgit v1.2.3