diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2020-05-11 17:51:28 +0200 |
---|---|---|
committer | Marc Glisse <marc.glisse@inria.fr> | 2020-05-11 17:51:28 +0200 |
commit | 3cf5be5460b506811e22f800eeededc3f2ec40a8 (patch) | |
tree | d9ebb271d3766b148db9a6edf0ffd0a3b5f9d615 /src/Persistent_cohomology/example/rips_persistence_via_boundary_matrix.cpp | |
parent | 73a74011e4b5af0794f0463295beca924d32e0ee (diff) | |
parent | 2a4a9528aef4c553c3de9544b729c8a3c6f43c26 (diff) |
Merge remote-tracking branch 'origin/master' into dtmdensity
Diffstat (limited to 'src/Persistent_cohomology/example/rips_persistence_via_boundary_matrix.cpp')
-rw-r--r-- | src/Persistent_cohomology/example/rips_persistence_via_boundary_matrix.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/Persistent_cohomology/example/rips_persistence_via_boundary_matrix.cpp b/src/Persistent_cohomology/example/rips_persistence_via_boundary_matrix.cpp index db456f70..8c5742aa 100644 --- a/src/Persistent_cohomology/example/rips_persistence_via_boundary_matrix.cpp +++ b/src/Persistent_cohomology/example/rips_persistence_via_boundary_matrix.cpp @@ -17,10 +17,6 @@ #include <boost/program_options.hpp> -#ifdef GUDHI_USE_TBB -#include <tbb/task_scheduler_init.h> -#endif - #include <string> #include <vector> @@ -67,11 +63,6 @@ int main(int argc, char * argv[]) { std::clog << "The complex contains " << st.num_simplices() << " simplices \n"; std::clog << " and has dimension " << st.dimension() << " \n"; -#ifdef GUDHI_USE_TBB - // Unnecessary, but clarifies which operations are parallel. - tbb::task_scheduler_init ts; -#endif - // Sort the simplices in the order of the filtration st.initialize_filtration(); int count = 0; @@ -81,10 +72,6 @@ int main(int argc, char * argv[]) { // Convert to a more convenient representation. Gudhi::Hasse_complex<> hcpx(st); -#ifdef GUDHI_USE_TBB - ts.terminate(); -#endif - // Free some space. delete &st; |