summaryrefslogtreecommitdiff
path: root/src/python/gudhi/strong_witness_complex.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/gudhi/strong_witness_complex.pyx')
-rw-r--r--src/python/gudhi/strong_witness_complex.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/gudhi/strong_witness_complex.pyx b/src/python/gudhi/strong_witness_complex.pyx
index e757abea..e35ba6ad 100644
--- a/src/python/gudhi/strong_witness_complex.pyx
+++ b/src/python/gudhi/strong_witness_complex.pyx
@@ -69,7 +69,7 @@ cdef class StrongWitnessComplex:
"""
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: