summaryrefslogtreecommitdiff
path: root/src/Persistent_cohomology/example/plain_homology.cpp
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-08-05 08:50:38 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-08-05 08:50:38 +0000
commit37b34936433bb8a2683f5987729493e6fdff33c5 (patch)
treec6193c86558f4021bc776e54f3a5c4151d80a856 /src/Persistent_cohomology/example/plain_homology.cpp
parent3ce8bf8dd1b0c4148a1f5f11cf178f9d381d6b18 (diff)
With the good include cstd
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/3billions_simplices_fix@1419 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 864b9995ec8675e1578bccf81126959a4a5a22c4
Diffstat (limited to 'src/Persistent_cohomology/example/plain_homology.cpp')
-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;