Open finsberg opened 2 years ago
The following program
import gotran
path = "demo/gotran2c/tentusscher_panfilov_2006_M_cell.ode"
ode = gotran.load_ode(path)
lin = gotran.codegeneration.algorithmcomponents.linearized_derivatives(ode)
fails in about 10% of the cases. Note however that
import gotran
path = "demo/gotran2c/tentusscher_panfilov_2006_M_cell.ode"
for _ range(100):
ode = gotran.load_ode(path)
lin = gotran.codegeneration.algorithmcomponents.linearized_derivatives(ode)
works fine, so it seems to be some state that is carried from the import.
When loading some odes I sometimes get the following error
However, the error is very flaky, meaning that running the command again might succeed.