diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2021-03-22 16:25:58 +0100 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2021-03-22 16:25:58 +0100 |
commit | 0fc53e3b820130169a6a9ad2866cff6f1b4a64c6 (patch) | |
tree | c2608b7ff60c201c8ac2a01bd1e46c0894310480 /src/python/gudhi/alpha_complex.pyx | |
parent | af98f16e12ec9d1af7d925ecdc53b4daefea6ebe (diff) |
Fix sphinx issues
Diffstat (limited to 'src/python/gudhi/alpha_complex.pyx')
-rw-r--r-- | src/python/gudhi/alpha_complex.pyx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/python/gudhi/alpha_complex.pyx b/src/python/gudhi/alpha_complex.pyx index 681faebe..d4c4ba20 100644 --- a/src/python/gudhi/alpha_complex.pyx +++ b/src/python/gudhi/alpha_complex.pyx @@ -123,9 +123,8 @@ cdef class AlphaComplex: cdef vector[double] wgts pts = points wgts = weights - if len(weights) == 0: - with nogil: - self.this_ptr = new Alpha_complex_interface(pts, wgts, fast, exact) + with nogil: + self.this_ptr = new Alpha_complex_interface(pts, wgts, fast, exact) def __dealloc__(self): if self.this_ptr != NULL: |