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
Previously, 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 AMICI-dev#2545.
- Loading branch information