summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincentRouvreau <vincent.rouvreau@inria.fr>2021-09-06 15:47:05 +0200
committerVincentRouvreau <vincent.rouvreau@inria.fr>2021-09-06 15:47:05 +0200
commit0220788ba1710712c275fa8a0e1d16e5279fa266 (patch)
tree6819b78e1064ec1b8fda5cc11103344946971ea9
parentf70e6f26f329428184fc5cf935ad4dfc20648bfb (diff)
code review: weights is None by default, even for documentation
-rw-r--r--src/python/gudhi/alpha_complex.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/gudhi/alpha_complex.pyx b/src/python/gudhi/alpha_complex.pyx
index 2cf4738b..446f4123 100644
--- a/src/python/gudhi/alpha_complex.pyx
+++ b/src/python/gudhi/alpha_complex.pyx
@@ -53,7 +53,7 @@ cdef class AlphaComplex:
cdef Alpha_complex_interface * this_ptr
# Fake constructor that does nothing but documenting the constructor
- def __init__(self, points=[], off_file='', weights=[], precision='safe'):
+ def __init__(self, points=[], off_file='', weights=None, precision='safe'):
"""AlphaComplex constructor.
:param points: A list of points in d-Dimension.