Open cwittens opened 1 month ago
This is just for fixed time step? This is quite an edge case. If someone uses fixed time step then non-floating point step values are allowed, such as integers and rational values, since the user can choose to handle those exactly. For this reason, tspan does not auto-convert to floating point values for fixed time step methods like this.
Describe the bug π
When using
tstops
with non-adaptive methods, the elements of tstops need to be integers if tspan is given as a tuple of integers.Expected behavior
It shouldn't matter if one uses integers or floats for the tspan tuple. In both cases you should be able to pass floats as tstops.
Minimal Reproducible Example π
Environment (please complete the following information):
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
Additional context
Add any other context about the problem here.