summaryrefslogtreecommitdiff
path: root/src/Witness_complex/test
diff options
context:
space:
mode:
authorskachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-01-20 15:24:36 +0000
committerskachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-01-20 15:24:36 +0000
commitdb1398bcf173f372fc3ef7a410e4e72b0192f8cc (patch)
tree16737fa5c160d4ca431be9dbb29409c2da28aa12 /src/Witness_complex/test
parent49d726423c3f270f542ca93d43387e0dbcdd0ca9 (diff)
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
Diffstat (limited to 'src/Witness_complex/test')
-rw-r--r--src/Witness_complex/test/test_simple_witness_complex.cpp4
1 files changed, 2 insertions, 2 deletions
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<Kernel, Point_range> Kd_tree;
typedef Kd_tree::INS_range Nearest_landmark_range;
typedef std::vector<Nearest_landmark_range> Nearest_landmark_table;
typedef Gudhi::witness_complex::Witness_complex<Nearest_landmark_table> WitnessComplex;
+typedef Gudhi::witness_complex::Strong_witness_complex<Nearest_landmark_table> 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);