summaryrefslogtreecommitdiff
path: root/src/GudhUI/utils/Persistence_compute.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/GudhUI/utils/Persistence_compute.h')
-rw-r--r--src/GudhUI/utils/Persistence_compute.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GudhUI/utils/Persistence_compute.h b/src/GudhUI/utils/Persistence_compute.h
index fa5bafc1..f7048c28 100644
--- a/src/GudhUI/utils/Persistence_compute.h
+++ b/src/GudhUI/utils/Persistence_compute.h
@@ -76,7 +76,7 @@ template<typename SkBlComplex> class Persistence_compute {
using Field_Zp = Gudhi::persistent_cohomology::Field_Zp;
using Persistent_cohomology = Gudhi::persistent_cohomology::Persistent_cohomology<Simplex_tree, Field_Zp>;
- Rips_complex rips_complex(points, params.threshold, euclidean_distance<Point_t>);
+ Rips_complex rips_complex(points, params.threshold, euclidean_distance<Filtration_value, Point_t>);
Simplex_tree st;
if (rips_complex.create_complex(st, params.max_dim)) {