Skip to content
Commit 3065eb63 authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Better handling of the else branch

I realized sympy.Piecewise iterates over the conditions
and returns the first which evaluates to True. So, the
else branch should have `True` instead of `sp.Not(cond)`
for a more robust implementation.
parent ca66fe01
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment