Skip to content

Implement pymbolics If statement through sympys Piecewise

Dominic Kempf requested to merge better-sympy-if-statement into master

Previous implementation of If through the EvaluationMapper resulted in wrong behaviour. Although the Piecewise node is no exact match for the if, it can be used to express it.

Merge request reports