summaryrefslogtreecommitdiff
path: root/src/Persistent_cohomology
diff options
context:
space:
mode:
authorVincent Rouvreau <VincentRouvreau@users.noreply.github.com>2019-06-13 17:56:22 +0200
committerGitHub <noreply@github.com>2019-06-13 17:56:22 +0200
commitaaf2b79181c1b0f935d2b2110f0e7f48fb98b35b (patch)
tree276423832ff74d0c69a6b12d1e03bb2af3255bbb /src/Persistent_cohomology
parente0ba917bbb1a54d43642f14eccb0bb6af8792bc2 (diff)
Update src/Persistent_cohomology/example/plain_homology.cpp
Co-Authored-By: Marc Glisse <marc.glisse@inria.fr>
Diffstat (limited to 'src/Persistent_cohomology')
-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 be2dc4cc..1c70ba5d 100644
--- a/src/Persistent_cohomology/example/plain_homology.cpp
+++ b/src/Persistent_cohomology/example/plain_homology.cpp
@@ -75,7 +75,8 @@ int main() {
st.initialize_filtration();
// Class for homology computation
- // We want persistent homology to be computed for the maximal dimension in the complex (persistence_dim_max = true)
+ // By default, since the complex has dimension 1, only 0-dimensional homology would be computed.
+ // Here we also want persistent homology to be computed for the maximal dimension in the complex (persistence_dim_max = true)
Persistent_cohomology pcoh(st, true);
// Initialize the coefficient field Z/2Z for homology