summaryrefslogtreecommitdiff
path: root/src/GudhUI
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-12-08 22:17:04 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-12-08 22:17:04 +0000
commitb41fb07d4dbaf4e12c31b952cc2bc24e30c55384 (patch)
tree0393f116d51636a64287d5cab8815cf08735b2c4 /src/GudhUI
parentccc1ca066fa7c1fb35929eceb52f2f36179aea37 (diff)
replace euclidean_distance with a class Euclidean_distance containing an operator()
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/distance_matrix_in_rips_module@1840 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: b1619401ac0ef978257709c5deeb7e19fbcff32c
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 d2973d84..12283cbe 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<Filtration_value, Point_t>);
+ Rips_complex rips_complex(points, params.threshold, Euclidean_distance());
Simplex_tree st;
if (rips_complex.create_complex(st, params.max_dim)) {