An error occurred while fetching the assigned milestone of the selected merge_request.
Fix get_type_of_expression for constants like sympy.pi
Problem: some constant expressions are neither Float,Integer,Rational and don't have arguments.
>>> from sympy import *
>>> isinstance(pi, Integer)
False
>>> isinstance(pi, Float)
False
>>> isinstance(pi, Rational)
False
>>> pi.args
()
Edited by Stephan Seitz
Merge request reports
Activity
Filter activity
Please register or sign in to reply