Skip to content

Commit 93d0f97

Browse files
committed
Bug: to_sympy needs to accept *args, and **kwargs
1 parent 6f1b9be commit 93d0f97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mathics/core/expression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2291,7 +2291,7 @@ def __new__(cls, value) -> 'PrecisionReal':
22912291
def to_python(self, *args, **kwargs):
22922292
return float(self.value)
22932293

2294-
def to_sympy(self):
2294+
def to_sympy(self, *args, **kwargs):
22952295
return self.value
22962296

22972297
def to_mpmath(self):

0 commit comments

Comments
 (0)