summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-01-07 12:27:43 +0100
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-01-07 12:27:43 +0100
commit44484a8f9242e45ead34cb49226df015c4b6c19a (patch)
treeda20bfd6f088f2109ead84aaae1e2f9a62a165da
parent82b556c554a60e3b05942ba53300463dc00b8538 (diff)
Code review: use list in examples instead of numpy arrays
-rw-r--r--src/python/doc/cubical_complex_user.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/python/doc/cubical_complex_user.rst b/src/python/doc/cubical_complex_user.rst
index 6fdcd9df..56cf0170 100644
--- a/src/python/doc/cubical_complex_user.rst
+++ b/src/python/doc/cubical_complex_user.rst
@@ -142,7 +142,8 @@ Or it can be defined as follows:
.. testcode::
from gudhi import PeriodicCubicalComplex as pcc
- periodic_cc = pcc(top_dimensional_cells = [[0, 0, 0], [0, 1, 0], [0, 0, 0]]
+ periodic_cc = pcc(top_dimensional_cells = [[0, 0, 0], [0, 1, 0], [0, 0, 0]],
+ periodic_dimensions=[True, False])
result_str = 'Periodic cubical complex is of dimension ' + repr(periodic_cc.dimension()) + ' - ' + \
repr(periodic_cc.num_simplices()) + ' simplices.'
print(result_str)