Skip to content

Commit 4816650

Browse files
committed
Fix compilation
1 parent 2798227 commit 4816650

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

symengine/lib/symengine_wrapper.in.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2036,7 +2036,7 @@ class RealMPFR(Float):
20362036
cdef string i_ = str(i).encode("utf-8")
20372037
cdef symengine.mpfr_class m
20382038
m = symengine.mpfr_class(i_, prec, base)
2039-
return c2py(<rcp_const_basic>symengine.real_mpfr(move[symengine.mpfr](m)))
2039+
return c2py(<rcp_const_basic>symengine.real_mpfr(move[symengine.mpfr_class](m)))
20402040

20412041
def get_prec(Basic self):
20422042
return Integer(deref(symengine.rcp_static_cast_RealMPFR(self.thisptr)).get_prec())
@@ -2065,7 +2065,7 @@ cdef class ComplexMPC(ComplexBase):
20652065
return
20662066
cdef string i_ = ("(" + str(i) + " " + str(j) + ")").encode("utf-8")
20672067
cdef symengine.mpc_class m = symengine.mpc_class(i_, prec, base)
2068-
self.thisptr = <rcp_const_basic>symengine.complex_mpc(move[symengine.mpc](m))
2068+
self.thisptr = <rcp_const_basic>symengine.complex_mpc(move[symengine.mpc_class](m))
20692069

20702070
def _sympy_(self):
20712071
import sympy

0 commit comments

Comments
 (0)