diff options
author | VincentRouvreau <vincent.rouvreau@inria.fr> | 2021-09-06 15:47:05 +0200 |
---|---|---|
committer | VincentRouvreau <vincent.rouvreau@inria.fr> | 2021-09-06 15:47:05 +0200 |
commit | 0220788ba1710712c275fa8a0e1d16e5279fa266 (patch) | |
tree | 6819b78e1064ec1b8fda5cc11103344946971ea9 | |
parent | f70e6f26f329428184fc5cf935ad4dfc20648bfb (diff) |
code review: weights is None by default, even for documentation
-rw-r--r-- | src/python/gudhi/alpha_complex.pyx | 2 |
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. |