summaryrefslogtreecommitdiff
path: root/src/cython/gudhi/tangential_complex.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'src/cython/gudhi/tangential_complex.pyx')
-rw-r--r--src/cython/gudhi/tangential_complex.pyx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cython/gudhi/tangential_complex.pyx b/src/cython/gudhi/tangential_complex.pyx
index 9eb22115..3a945fe2 100644
--- a/src/cython/gudhi/tangential_complex.pyx
+++ b/src/cython/gudhi/tangential_complex.pyx
@@ -144,8 +144,7 @@ cdef class TangentialComplex:
"""
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
- self.thisptr.create_simplex_tree(stree_ptr)
+ self.thisptr.create_simplex_tree(<Simplex_tree_interface_full_featured*>stree_int_ptr)
return stree
def fix_inconsistencies_using_perturbation(self, max_perturb, time_limit=-1.0):