summaryrefslogtreecommitdiff
path: root/src/Persistent_cohomology
diff options
context:
space:
mode:
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