summaryrefslogtreecommitdiff
path: root/src/Toplex_map/benchmark/chrono.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Toplex_map/benchmark/chrono.cpp')
-rw-r--r--src/Toplex_map/benchmark/chrono.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Toplex_map/benchmark/chrono.cpp b/src/Toplex_map/benchmark/chrono.cpp
index e65dcba2..a745f099 100644
--- a/src/Toplex_map/benchmark/chrono.cpp
+++ b/src/Toplex_map/benchmark/chrono.cpp
@@ -3,12 +3,14 @@
#include <chrono>
#include <gudhi/Simplex_tree.h>
+#include <gudhi/Toplex_map.h>
#include <gudhi/Lazy_Toplex_map.h>
using namespace Gudhi;
-typedef Toplex_map::Vertex Vertex;
typedef Toplex_map::Simplex Simplex;
+typedef Toplex_map::Vertex Vertex;
+typedef std::pair< Simplex_tree<>::Simplex_handle, bool > typePairSimplexBool;
class ST_wrapper {
@@ -65,7 +67,7 @@ int nb_contraction = 300;
int nb_insert_simplex2 = 3000;
int nb_membership2 = 400000;
-Simplex random_simplex(int n, int d){
+Simplex random_simplex(int n, std::size_t d){
std::random_device rd;
std::mt19937 gen(rd());
std::uniform_int_distribution<std::size_t> dis(1, n);