Skip to content

Commit 7462164

Browse files
authored
Merge pull request #280 from isuruf/mpc
Fix eval_mpc
2 parents fd640a7 + 3fafbea commit 7462164

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
@@ -4051,7 +4051,7 @@ IF HAVE_SYMENGINE_MPC:
40514051
have_mpc = True
40524052
def eval_mpc(x, unsigned long prec):
40534053
warnings.warn("eval_mpc is deprecated. Use evalf(..., real=False)", DeprecationWarning)
4054-
return evalf(x, prec, real=True)
4054+
return evalf(x, prec, real=False)
40554055

40564056
IF HAVE_SYMENGINE_PIRANHA:
40574057
have_piranha = True

0 commit comments

Comments
 (0)