summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Bauer <mail@ulrich-bauer.org>2021-01-05 01:03:25 +0100
committerUlrich Bauer <mail@ulrich-bauer.org>2021-01-05 01:03:25 +0100
commitd120bdbe822c1d2e99ed9e02e0b814e5c933fd42 (patch)
treee1a5dbdde68fdacc48f66c3d298b180d41b12cfa
parent94e8f89dad3fd05209105a2d04ffce4290ba935a (diff)
fixed sign warning
-rw-r--r--ripser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ripser.cpp b/ripser.cpp
index 1bbe5d0..1ffa443 100644
--- a/ripser.cpp
+++ b/ripser.cpp
@@ -780,7 +780,7 @@ public:
modulus;
add_coboundary(reduction_matrix, columns_to_reduce, index_column_to_add,
- factor, dim, working_reduction_column, working_coboundary, other_cofacets);
+ factor, dim, working_reduction_column, working_coboundary, cofacets);
pivot = get_pivot(working_coboundary);
} else if (get_index(e = get_apparent_facet(pivot, dim + 1, facets, other_cofacets)) != -1) {
@@ -934,7 +934,7 @@ public:
parent.get_simplex_vertices(idx_below, _dim, parent.n, vertices.rbegin());
- for (size_t i = 0; i <= _dim; ++i) {
+ for (index_t i = 0; i <= _dim; ++i) {
auto v = vertices[i];
neighbor_it[i] = dist.neighbors[v].rbegin();
neighbor_end[i] = dist.neighbors[v].rend();