JuliaPy / SymPy.jl

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

overeager promotion #376

Closed jverzani closed 3 years ago

jverzani commented 3 years ago

For f(x) = x^2 + 1 +log(abs( 11*x-15 ))/99 it was expected that limit(f, 15//11) would be the same as limit(f, Sym(15)/11)). It isn't.

A simple fix here is to promote the c early through Sym before PyCall gets involved, but a more general soln would be nice.