diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-10-12 14:06:01 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-10-12 14:06:01 +0000 |
commit | 0b903a02242c935e7621006818e9f9dc442f0e79 (patch) | |
tree | 1a4ad46cbfcee4fec88c6bd5b7105bc5d8eadbd3 /src/Toplex_map/include/gudhi/Toplex_map.h | |
parent | 05b163f41a8b2ee0b10b862b0c7497d3f6e9b4b3 (diff) |
Add some unitary tests
num_maximum_simplices results are a bit strange
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/toplex_map@3950 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 86c7a4607f9d774c89c79dcc6d95f1ce2f5951d5
Diffstat (limited to 'src/Toplex_map/include/gudhi/Toplex_map.h')
-rw-r--r-- | src/Toplex_map/include/gudhi/Toplex_map.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Toplex_map/include/gudhi/Toplex_map.h b/src/Toplex_map/include/gudhi/Toplex_map.h index 271d0970..4c6c4b02 100644 --- a/src/Toplex_map/include/gudhi/Toplex_map.h +++ b/src/Toplex_map/include/gudhi/Toplex_map.h @@ -8,8 +8,6 @@ #include <memory> #include <limits> -#define vertex_upper_bound std::numeric_limits<Toplex_map::Vertex>::max() - namespace Gudhi { /** A Toplex_map represents the simplicial complex. @@ -85,6 +83,8 @@ protected: /** \internal The map from vertices to toplices */ std::unordered_map<Toplex_map::Vertex, Toplex_map::Simplex_ptr_set> t0; + + const Toplex_map::Vertex vertex_upper_bound = std::numeric_limits<Toplex_map::Vertex>::max(); }; // Pointers are also used as key in the hash sets. |