Skip to content

Commit f81d0c5

Browse files
authored
Merge pull request #1206 from mathics/mpmath-in-sage
Don't use `mpmath.ctx_mp_python.mpf`, but `mpmath.mpf`
2 parents 0894d8e + e9e59fe commit f81d0c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mathics/builtin/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from mathics.core.numbers import get_precision, PrecisionValueError, machine_precision
2424

2525

26-
def mp_constant(fn: str, d=None) -> mpmath.ctx_mp_python.mpf:
26+
def mp_constant(fn: str, d=None) -> mpmath.mpf:
2727
"""
2828
Return the mpmath constant _fn_ with integer precision _d_.
2929
"""

0 commit comments

Comments
 (0)