Closed ArneBouillon closed 9 months ago
This seems reasonable. I don't know who looked at this code last, @YingboMa ?
@ChrisRackauckas As far as I'm concerned, this one is ready for review. I added some documentation on this shortcut.
I'm unsure as to why some integration tests are failing. It seems unrelated to my changes.
See the note on re-solve. Also, does expv_timestep!
need to be handled similarly?
Good point, I didn't realise the caches were reused! expv_timestep!
calls phiv_timestep!
under the hood, so that doesn't need extra care.
Thanks!
Fixes #143
I looked into that issue a bit more. Expokit.jl uses the same initial time step as ExponentialUtilities.jl, but does not face the dimension-1 issue since it stops timestepping upon a happy breakdown. When using the matrix dimension as the Krylov subspace dimension, happy breakdown will occur and there is no need for taking (potentially very small) time steps.