summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Persistent_cohomology/example/plain_homology.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Persistent_cohomology/example/plain_homology.cpp b/src/Persistent_cohomology/example/plain_homology.cpp
index f8fab93c..2c4e7aa2 100644
--- a/src/Persistent_cohomology/example/plain_homology.cpp
+++ b/src/Persistent_cohomology/example/plain_homology.cpp
@@ -25,6 +25,7 @@
#include <iostream>
#include <vector>
+#include <cstdint> // for std::uint8_t
using namespace Gudhi;
@@ -39,7 +40,7 @@ struct MyOptions : Simplex_tree_options_full_featured {
static const bool store_key = true;
// I have few vertices
typedef short Vertex_handle;
- // Maximum number of simplices to compute persistence is 2^8 = 256
+ // Maximum number of simplices to compute persistence is 2^8 = 256.
typedef std::uint8_t Simplex_key;
};
typedef Simplex_tree<MyOptions> ST;