diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-10-16 13:57:50 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-10-16 13:57:50 +0000 |
commit | c71dce7fe646cd4ca4da5f385cb0d97535e4d941 (patch) | |
tree | 237d99233a51b3707d5880a9e81e07280442c31a /src/Toplex_map/benchmark | |
parent | c882b0478d4b0899005bf6c0e9528a1fc8785cf9 (diff) |
Add lazy_toplex_map_unit_test
Class documentation rewrite
Fix conventions in code
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/toplex_map@3956 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 65f79ee3c0f22157b2cedfc498e5d9c97dd055f6
Diffstat (limited to 'src/Toplex_map/benchmark')
-rw-r--r-- | src/Toplex_map/benchmark/chrono.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Toplex_map/benchmark/chrono.cpp b/src/Toplex_map/benchmark/chrono.cpp index de6d701f..e6172c61 100644 --- a/src/Toplex_map/benchmark/chrono.cpp +++ b/src/Toplex_map/benchmark/chrono.cpp @@ -107,7 +107,10 @@ void chrono(int n, int d){ end = std::chrono::system_clock::now(); auto c2 = std::chrono::duration_cast<std::chrono::milliseconds>(end-start).count(); - std::cout << c1 << "\t \t" << c2 << "\t \t" << c3 << "\t \t" << K.num_maximal_simplices() << std::endl; + if (c3 > 0) + std::cout << c1 << "\t \t" << c2 << "\t \t" << c3 << "\t \t" << K.num_maximal_simplices() << std::endl; + else + std::cout << c1 << "\t \t" << c2 << "\t \tN/A\t \t" << K.num_maximal_simplices() << std::endl; } int main(){ |