henry2004y / TestParticle.jl

Test particle tracing in electromagnetic field
https://henry2004y.github.io/TestParticle.jl/dev/
MIT License
15 stars 3 forks source link

Plotting bug when saving only part of the solution #116

Closed henry2004y closed 7 months ago

henry2004y commented 9 months ago

For example, in demo_proton_electron, if we use

sol_e = solve(prob_e, Vern9(); save_idxs=[1,2,3])

instead of

sol_e = solve(prob_e, Vern9())

The display result would be strange.

Related to https://github.com/SciML/OrdinaryDiffEq.jl/issues/2140

henry2004y commented 7 months ago

Chris explained that this bug originates from doing lazy interpolations some of the schemes in the above link.