JuliaPy / SymPy.jl

Julia interface to SymPy via PyCall
http://juliapy.github.io/SymPy.jl/
MIT License
266 stars 61 forks source link

Type stability breaks down for simple arithmetic functions in SymPy 2.0+ #545

Closed waltergu closed 2 months ago

waltergu commented 2 months ago

Before SymPy@2.0, such as SymPy@1.2.1, simple arithmetic functions are type stable, e.g.,

image

However, for SymPy@2.0.1,

image

It seems that the Base.promote function cannot work as expected.

jverzani commented 2 months ago

Thanks!. Fix coming soon to SymPyCore