From 640c41e6e8895e63c68ffd9e59e12e64a3ac2ba9 Mon Sep 17 00:00:00 2001 From: salinasd Date: Wed, 17 Dec 2014 11:40:17 +0000 Subject: Namespace problem -> Persistent_cohomology should not be friend of Simplex_tree git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@366 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 94e6de54c7209c091482a7325acbbf24727fdfc2 --- src/Persistent_cohomology/example/rips_persistence.cpp | 2 +- src/Persistent_cohomology/test/persistent_cohomology_unit_test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Persistent_cohomology') diff --git a/src/Persistent_cohomology/example/rips_persistence.cpp b/src/Persistent_cohomology/example/rips_persistence.cpp index f7f9527f..e6645806 100644 --- a/src/Persistent_cohomology/example/rips_persistence.cpp +++ b/src/Persistent_cohomology/example/rips_persistence.cpp @@ -74,7 +74,7 @@ int main (int argc, char * argv[]) st.initialize_filtration(); // Compute the persistence diagram of the complex - Persistent_cohomology< Simplex_tree<>, Field_Zp > pcoh( st ); + persistent_cohomology::Persistent_cohomology< Simplex_tree<>, Field_Zp > pcoh(st); pcoh.init_coefficients( p ); //initilizes the coefficient field for homology pcoh.compute_persistent_cohomology( min_persistence ); diff --git a/src/Persistent_cohomology/test/persistent_cohomology_unit_test.cpp b/src/Persistent_cohomology/test/persistent_cohomology_unit_test.cpp index f44045d0..0c1b52c6 100644 --- a/src/Persistent_cohomology/test/persistent_cohomology_unit_test.cpp +++ b/src/Persistent_cohomology/test/persistent_cohomology_unit_test.cpp @@ -41,7 +41,7 @@ std::string test_rips_persistence(int coefficient, int min_persistence) { st.initialize_filtration(); // Compute the persistence diagram of the complex - Persistent_cohomology, Field_Zp> pcoh(st); + persistent_cohomology::Persistent_cohomology, Field_Zp> pcoh(st); pcoh.init_coefficients( coefficient ); // initializes the coefficient field for homology // Check infinite rips -- cgit v1.2.3