Closed dweindl closed 6 months ago
Evaluate initial assignments to parameters to determine whether the targets are amici parameters or expressions. Related to https://github.com/AMICI-dev/AMICI/pull/2304.
For example, it the initial assignment is log(10), this should still be a parameter instead of an expression, but sympy.log(10).is_Number will be False.
log(10)
sympy.log(10).is_Number
False
Evaluate initial assignments to parameters to determine whether the targets are amici parameters or expressions. Related to https://github.com/AMICI-dev/AMICI/pull/2304.
For example, it the initial assignment is
log(10)
, this should still be a parameter instead of an expression, butsympy.log(10).is_Number
will beFalse
.