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
Pipeline #8514 failed with stage
in 2 minutes and 29 seconds