Closed NightWinkle closed 9 months ago
Hi there! I think this is intentional: when solving backward then all timelike quantites -- off the top of my head that is SaveAt(ts=...)
and PIDController(step_ts=..., jump_ts=...)
-- should also be flipped.
Hi there! I think this is intentional: when solving backward then all timelike quantites -- off the top of my head that is
SaveAt(ts=...)
andPIDController(step_ts=..., jump_ts=...)
-- should also be flipped.
Sure but neither way work for me, both in a reverse and forward order for the array of ts. Maybe I am missing something if this is not reproducible.
Ah! So the sol0
should work / does work on my machine.
Can you make sure that you've updated to the latest versions of JAX and jaxlib and Equinox and Diffrax, just in case any of those are the culprit?
After multiple tries I got it to work but I must say I'm unsure what was causing the issue. Probably something between the keyboard and the computer.
Hello,
It is not possible to specify a list of timesteps for a SaveAt when solving backwards, because some checking for the monotonicity of the list seems to be broken for that case.
The error thrown is : XlaRuntimeError: saveat.ts must be increasing or decreasing.