summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Bauer <mail@ulrich-bauer.org>2019-08-29 10:13:45 +0200
committerUlrich Bauer <mail@ulrich-bauer.org>2019-08-29 10:13:45 +0200
commit2a2d42a68d6660949ff681872e03b8e2fa30a377 (patch)
treeeda74bb0913394677eab47733febfb7827a30cc6
parenta6d41407efa50d9fe63b23534a78c9a1efddb570 (diff)
fixed a bug where in add_coboundary a simplex get added twice to the working_reduction_column
-rw-r--r--ripser.cpp1
1 files changed, 0 insertions, 1 deletions
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);
}
}