Skip to content

Commit 3e9ad77

Browse files
committed
Use name assign_to_capsule
1 parent cbf1b9b commit 3e9ad77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

symengine/lib/symengine_wrapper.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ cpdef object capsule_to_basic(object capsule):
4343
cdef CRCPBasic *p = <CRCPBasic*>PyCapsule_GetPointer(capsule, NULL)
4444
return c2py(p.m)
4545

46-
cpdef void basic_to_capsule(object capsule, object basic):
46+
cpdef void assign_to_capsule(object capsule, object basic):
4747
cdef CRCPBasic *p_cap = <CRCPBasic*>PyCapsule_GetPointer(capsule, NULL)
4848
cdef Basic v = sympify(basic)
4949
p_cap.m = v.thisptr

0 commit comments

Comments
 (0)