diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-01-07 12:27:43 +0100 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-01-07 12:27:43 +0100 |
commit | 44484a8f9242e45ead34cb49226df015c4b6c19a (patch) | |
tree | da20bfd6f088f2109ead84aaae1e2f9a62a165da /src | |
parent | 82b556c554a60e3b05942ba53300463dc00b8538 (diff) |
Code review: use list in examples instead of numpy arrays
Diffstat (limited to 'src')
-rw-r--r-- | src/python/doc/cubical_complex_user.rst | 3 |
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) |