You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When converting a SymPy symbolic expression to a Julia Expr, if there is an integer-division in an exponent, the integer division is placed into the output Expr without parentheses to indicate precedence, which is incorrect.
To reproduce:
julia>convert(Expr, 1/(2*x*sympy.pi^(1//4)))
:((1/2) *pi^-1//4* x ^-1)
Expected result:
:((1/2) *pi^ (-1//4) * x ^-1)
As is, the returned Expr is interpreted as :(((1 / 2) * pi ^ -1)//4 * x ^ -1), which is incorrect.