JuliaPy / SymPy.jl

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

lambdify adjustment, close #295 #428

Closed jverzani closed 3 years ago

jverzani commented 3 years ago

Modify lambdify so that this issue (behind #295) is handled:

@syms x
p = sympy.Piecewise((x,Gt(x,0)), (x^2, Le(x,0)))
@test lambdify(p)(2) == 2