Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
_collect_heaviside_roots
for sympy.Heaviside
arguments
Since b7a3e91, if dxdt was a sympy.Heaviside, it wasn't correctly processed, because only its arguments were checked. That means, root-finding would not be enabled for this discontinuity. This would happen if a Rule or KineticLaw is a plain Piecewise function (not embedded inside a more complex expression). Fixes #2545. The bug was exposed only after the previous release, this did not affect any former amici releases.
- Loading branch information