summaryrefslogtreecommitdiff
path: root/src/python/doc/cubical_complex_user.rst
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2019-12-18 10:44:17 +0100
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2019-12-18 10:44:17 +0100
commitb63be266effe24646823acc59fe397021bb13a3e (patch)
tree92e7bd9863a8823cca7934fe0d8cf1481417128a /src/python/doc/cubical_complex_user.rst
parentb5510c0c362cd2bef79d82fd9809e654aea73957 (diff)
Reuse top_dimensional_cells instead of numpy_array argument to create a cubical
Diffstat (limited to 'src/python/doc/cubical_complex_user.rst')
-rw-r--r--src/python/doc/cubical_complex_user.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/doc/cubical_complex_user.rst b/src/python/doc/cubical_complex_user.rst
index 21806038..d56c8789 100644
--- a/src/python/doc/cubical_complex_user.rst
+++ b/src/python/doc/cubical_complex_user.rst
@@ -143,7 +143,7 @@ Or it can be defined as follows:
from gudhi import PeriodicCubicalComplex as pcc
from numpy import array as np_array
- periodic_cc = pcc(numpy_array = np_array([[0, 0, 0], [0, 1, 0], [0, 0, 0]]),
+ periodic_cc = pcc(top_dimensional_cells = np_array([[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.'