We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9f56cb commit ad32cffCopy full SHA for ad32cff
lib/OrdinaryDiffEqCore/src/initdt.jl
@@ -15,7 +15,7 @@
15
oneunit_tType = oneunit(t)
16
dtmax_tdir = tdir * dtmax
17
18
- dtmin = nextfloat(max(integrator.opts.dtmin, eps(t)))
+ dtmin = nextfloat(max(integrator.opts.dtmin, convert(_tType, oneunit_tType * eps(DiffEqBase.value(t)))))
19
smalldt = max(dtmin, convert(_tType, oneunit_tType * 1 // 10^(6)))
20
21
if integrator.isdae
@@ -315,7 +315,7 @@ end
315
316
317
318
319
320
321
0 commit comments