summaryrefslogtreecommitdiff
path: root/src/cython/gudhi/strong_witness_complex.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'src/cython/gudhi/strong_witness_complex.pyx')
-rw-r--r--src/cython/gudhi/strong_witness_complex.pyx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cython/gudhi/strong_witness_complex.pyx b/src/cython/gudhi/strong_witness_complex.pyx
index 4e3d1b67..e757abea 100644
--- a/src/cython/gudhi/strong_witness_complex.pyx
+++ b/src/cython/gudhi/strong_witness_complex.pyx
@@ -69,10 +69,10 @@ cdef class StrongWitnessComplex:
"""
stree = SimplexTree()
cdef intptr_t stree_int_ptr=stree.thisptr
- cdef Simplex_tree_interface_full_featured* stree_ptr = <Simplex_tree_interface_full_featured*>stree_int_ptr
if limit_dimension is not -1:
- self.thisptr.create_simplex_tree(stree_ptr,
+ self.thisptr.create_simplex_tree(<Simplex_tree_interface_full_featured*>stree_int_ptr,
max_alpha_square, limit_dimension)
else:
- self.thisptr.create_simplex_tree(stree_ptr, max_alpha_square)
+ self.thisptr.create_simplex_tree(<Simplex_tree_interface_full_featured*>stree_int_ptr,
+ max_alpha_square)
return stree