diff options
Diffstat (limited to 'src/python/gudhi/euclidean_witness_complex.pyx')
-rw-r--r-- | src/python/gudhi/euclidean_witness_complex.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/gudhi/euclidean_witness_complex.pyx b/src/python/gudhi/euclidean_witness_complex.pyx index 2531919b..86d2d996 100644 --- a/src/python/gudhi/euclidean_witness_complex.pyx +++ b/src/python/gudhi/euclidean_witness_complex.pyx @@ -71,7 +71,7 @@ cdef class EuclideanWitnessComplex: """ stree = SimplexTree() cdef intptr_t stree_int_ptr=stree.thisptr - if limit_dimension is not -1: + if limit_dimension != -1: self.thisptr.create_simplex_tree(<Simplex_tree_interface_full_featured*>stree_int_ptr, max_alpha_square, limit_dimension) else: |