summaryrefslogtreecommitdiff
path: root/src/cython/gudhi/rips_complex.pyx
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2019-09-05 12:54:57 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2019-09-05 12:54:57 +0200
commit3c96720c786462827820f4d35e720c8f2084867b (patch)
tree36d2e672c28ea968f8a6b481f3c40292e3aa51f1 /src/cython/gudhi/rips_complex.pyx
parent51a38f313f633e1c593d77319f3752a010da782c (diff)
Reduce number of code line
Diffstat (limited to 'src/cython/gudhi/rips_complex.pyx')
-rw-r--r--src/cython/gudhi/rips_complex.pyx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cython/gudhi/rips_complex.pyx b/src/cython/gudhi/rips_complex.pyx
index 1a6c8571..f2cd6a8d 100644
--- a/src/cython/gudhi/rips_complex.pyx
+++ b/src/cython/gudhi/rips_complex.pyx
@@ -97,6 +97,7 @@ cdef class RipsComplex:
:rtype: SimplexTree
"""
stree = SimplexTree()
- cdef intptr_t stree_ptr=stree.thisptr
- self.thisref.create_simplex_tree(<Simplex_tree_interface_full_featured*>stree_ptr, max_dimension)
+ cdef intptr_t stree_int_ptr=stree.thisptr
+ self.thisref.create_simplex_tree(<Simplex_tree_interface_full_featured*>stree_int_ptr,
+ max_dimension)
return stree