Skip to content

Commit

Permalink
3.8 tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Mar 12, 2024
1 parent cb7424e commit e96be31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mathics/core/symbols.py
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ def __pow__(self, other) -> BaseElement:
# permit_complex is True.
def round_to_float(
self, evaluation=None, permit_complex=False
) -> Optional[Union[complex | float]]:
) -> Optional[Union[complex, float]]:
"""
Round to a Python float. Return None if rounding is not possible.
This can happen if self or evaluation is NaN.
Expand Down

0 comments on commit e96be31

Please sign in to comment.