Closed jverzani closed 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.
f(x) = x^2 + 1 +log(abs( 11*x-15 ))/99
limit(f, 15//11)
limit(f, Sym(15)/11))
A simple fix here is to promote the c early through Sym before PyCall gets involved, but a more general soln would be nice.
c
Sym
PyCall
For
f(x) = x^2 + 1 +log(abs( 11*x-15 ))/99
it was expected thatlimit(f, 15//11)
would be the same aslimit(f, Sym(15)/11))
. It isn't.A simple fix here is to promote the
c
early throughSym
beforePyCall
gets involved, but a more general soln would be nice.