summaryrefslogtreecommitdiff
path: root/math/py-dionysus/files/patch-bindings_python_boundary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-dionysus/files/patch-bindings_python_boundary.cpp')
-rw-r--r--math/py-dionysus/files/patch-bindings_python_boundary.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/math/py-dionysus/files/patch-bindings_python_boundary.cpp b/math/py-dionysus/files/patch-bindings_python_boundary.cpp
new file mode 100644
index 000000000000..f15f7504aa8e
--- /dev/null
+++ b/math/py-dionysus/files/patch-bindings_python_boundary.cpp
@@ -0,0 +1,13 @@
+- workaround for https://github.com/mrzv/dionysus/issues/63
+
+--- bindings/python/boundary.cpp.orig 2024-04-12 03:21:33 UTC
++++ bindings/python/boundary.cpp
+@@ -68,7 +68,7 @@ PyMatrixFiltration coboundary(const PyFiltration& f)
+ return Entry(ee, f.index(e.index()));
+ }))
+ {
+- m.column(n - 1 - x.index()).emplace_back(Entry { x.element(), n - 1 - i });
++ m.column(n - 1 - x.index()).emplace_back(Entry { x.element(), (unsigned int)(n - 1 - i) });
+ }
+ ++i;
+ }