summaryrefslogtreecommitdiff
path: root/src/GudhUI
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-10-03 15:17:04 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-10-03 15:17:04 +0000
commit5ce7c7c8ec1378439cdc02dc94ac2a7e14e9ca04 (patch)
treee5dab0473590126a3a5864fe7ebc11720c26bd26 /src/GudhUI
parent29499b02d1b6eafcc6419a0b6b4469152ea20a09 (diff)
Fix euclidean distance for rips
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/rips_complex_module@1610 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: a07dfd4ffe3f17bf242ffb5b57058e99171a8016
Diffstat (limited to 'src/GudhUI')
-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)) {