summaryrefslogtreecommitdiff
path: root/src/Rips_complex/example
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-04-11 08:10:47 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-04-11 08:10:47 +0000
commit3bbae2e625ee99b5d6d4eab7c06acfa1246ad3ea (patch)
tree72d3ed53d9bb3203fb650ac684b296849978e1b4 /src/Rips_complex/example
parent7c018fc5120bf25b88bc287f0f5793984b3e4732 (diff)
Move Euclidean_distance in Gudhi namespace
Fix cpplints git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@2331 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: bc5609c2df490db50e82b56a5e6d899dc6370182
Diffstat (limited to 'src/Rips_complex/example')
-rw-r--r--src/Rips_complex/example/example_one_skeleton_rips_from_points.cpp2
-rw-r--r--src/Rips_complex/example/example_rips_complex_from_off_file.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Rips_complex/example/example_one_skeleton_rips_from_points.cpp b/src/Rips_complex/example/example_one_skeleton_rips_from_points.cpp
index 3fd69ebc..a1db8910 100644
--- a/src/Rips_complex/example/example_one_skeleton_rips_from_points.cpp
+++ b/src/Rips_complex/example/example_one_skeleton_rips_from_points.cpp
@@ -27,7 +27,7 @@ int main() {
// Init of a Rips complex from points
// ----------------------------------------------------------------------------
double threshold = 12.0;
- Rips_complex rips_complex_from_points(points, threshold, Euclidean_distance());
+ Rips_complex rips_complex_from_points(points, threshold, Gudhi::Euclidean_distance());
Simplex_tree stree;
rips_complex_from_points.create_complex(stree, 1);
diff --git a/src/Rips_complex/example/example_rips_complex_from_off_file.cpp b/src/Rips_complex/example/example_rips_complex_from_off_file.cpp
index a1e4e255..de2e4ea4 100644
--- a/src/Rips_complex/example/example_rips_complex_from_off_file.cpp
+++ b/src/Rips_complex/example/example_rips_complex_from_off_file.cpp
@@ -32,7 +32,7 @@ int main(int argc, char **argv) {
// Init of a Rips complex from an OFF file
// ----------------------------------------------------------------------------
Gudhi::Points_off_reader<Point> off_reader(off_file_name);
- Rips_complex rips_complex_from_file(off_reader.get_point_cloud(), threshold, Euclidean_distance());
+ Rips_complex rips_complex_from_file(off_reader.get_point_cloud(), threshold, Gudhi::Euclidean_distance());
std::streambuf* streambufffer;
std::ofstream ouput_file_stream;