Skip to content
Snippets Groups Projects
Commit b87eeadf authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Fix get_type_of_expression for constants like sympy.pi

Problem some constant expressions are neither Float,Integer,Rational but
don't have arguments.

>>> isinstance(pi, Integer)
False
>>> isinstance(pi, Float)
False
>>> isinstance(pi, Rational)
False
>>> pi.args
()
parent 790a98fc
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment