Commit 773f8d2
authored
Fix sympy DeprecationWarning (#2131)
During SBML test case 01288 when handling `true`/`false`:
```
E sympy.utilities.exceptions.SymPyDeprecationWarning:
E
E non-Expr objects in a Matrix is deprecated. Matrix represents
E a mathematical matrix. To represent a container of non-numeric
E entities, Use a list of lists, TableForm, NumPy array, or some
E other data structure instead.
E
E See https://docs.sympy.org/latest/explanation/active-deprecations.html#deprecated-non-expr-in-matrix
E for details.
E
E This has been deprecated since SymPy version 1.9. It
E will be removed in a future version of SymPy.
```1 parent e744b5c commit 773f8d2
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
1047 | 1048 | | |
1048 | 1049 | | |
1049 | 1050 | | |
1050 | | - | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
1051 | 1057 | | |
1052 | 1058 | | |
1053 | 1059 | | |
| |||
0 commit comments