Commit ce1b673
authored
SBML import: avoid repeated xdot==0 checks (#2706)
* SBML import: avoid repeated xdot==0 checks
Avoid checking for `xdot==0` for every single event when computing `deltasx`.
Avoid avoid some extra matrix multiplication, which may result in undefined symbols for some funny models where xdot==0.
* trigger SBML test suite on DEModel changes1 parent 0d689bd commit ce1b673
2 files changed
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1693 | 1693 | | |
1694 | 1694 | | |
1695 | 1695 | | |
1696 | | - | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
1697 | 1700 | | |
1698 | 1701 | | |
1699 | 1702 | | |
| 1703 | + | |
| 1704 | + | |
1700 | 1705 | | |
1701 | 1706 | | |
1702 | 1707 | | |
1703 | 1708 | | |
1704 | 1709 | | |
1705 | 1710 | | |
1706 | | - | |
1707 | | - | |
1708 | | - | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
1709 | 1716 | | |
1710 | 1717 | | |
1711 | 1718 | | |
| |||
1739 | 1746 | | |
1740 | 1747 | | |
1741 | 1748 | | |
1742 | | - | |
| 1749 | + | |
1743 | 1750 | | |
1744 | 1751 | | |
1745 | 1752 | | |
| |||
0 commit comments