JuliaMath / Calculus.jl

Calculus functions in Julia
Other
278 stars 76 forks source link

simplify give wrong result #82

Closed ZacLN closed 7 years ago

ZacLN commented 8 years ago

Hey, simplify(:(a-0)) gives -a rather than a

due to the reinterpretation of Expr(:call,:-,:a) following the stripping of zeros

mlubin commented 8 years ago

That's unfortunate. Care to fix it with a PR?

ZacLN commented 8 years ago

Will do I'm just trying to work out how to do one!

mlubin commented 7 years ago

Fixed by https://github.com/johnmyleswhite/Calculus.jl/pull/108