From db1398bcf173f372fc3ef7a410e4e72b0192f8cc Mon Sep 17 00:00:00 2001 From: skachano Date: Fri, 20 Jan 2017 15:24:36 +0000 Subject: non-Euclidean example works, but the test not anymore git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/relaxed-witness@1975 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 251638e6417f1059529d57a8a87364a17cf9f5a2 --- src/Witness_complex/test/test_simple_witness_complex.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Witness_complex/test/test_simple_witness_complex.cpp') diff --git a/src/Witness_complex/test/test_simple_witness_complex.cpp b/src/Witness_complex/test/test_simple_witness_complex.cpp index 2d4134f4..b47ebe4d 100644 --- a/src/Witness_complex/test/test_simple_witness_complex.cpp +++ b/src/Witness_complex/test/test_simple_witness_complex.cpp @@ -31,6 +31,7 @@ typedef Gudhi::spatial_searching::Kd_tree_search Kd_tree; typedef Kd_tree::INS_range Nearest_landmark_range; typedef std::vector Nearest_landmark_table; typedef Gudhi::witness_complex::Witness_complex WitnessComplex; +typedef Gudhi::witness_complex::Strong_witness_complex StrongWitnessComplex; /* All landmarks and witnesses are taken on the grid in the following manner. @@ -117,8 +118,7 @@ BOOST_AUTO_TEST_CASE(simple_witness_complex) { // Strong complex : non-Euclidean version - EuclideanStrongWitnessComplex strong_witness_complex(landmarks, - witnesses); + StrongWitnessComplex strong_witness_complex(nearest_landmark_table); strong_witness_complex.create_complex(strong_relaxed_complex_ne, 9.1); strong_witness_complex.create_complex(strong_relaxed_complex2_ne, 9.1, 2); -- cgit v1.2.3