Skip to content

Commit 685ab99

Browse files
Update lib/OrdinaryDiffEqFunctionMap/src/fixed_timestep_perform_step.jl
1 parent fe8e539 commit 685ab99

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/OrdinaryDiffEqFunctionMap/src/fixed_timestep_perform_step.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ end
2323
function perform_step!(integrator, cache::FunctionMapConstantCache, repeat_step = false)
2424
@unpack uprev, dt, t, f, p = integrator
2525
alg = unwrap_alg(integrator, nothing)
26-
if integrator.f != SciMLBase.DISCRETE_OUTOFPLACE_DEFAULT &&
27-
!(integrator.f isa SciMLBase.EvalFunc &&
28-
integrator.f.f === SciMLBase.DISCRETE_OUTOFPLACE_DEFAULT)
26+
if integrator.f != DiffEqBase.DISCRETE_OUTOFPLACE_DEFAULT &&
27+
!(integrator.f isa DiffEqBase.EvalFunc &&
28+
integrator.f.f === DiffEqBase.DISCRETE_OUTOFPLACE_DEFAULT)
2929
if FunctionMap_scale_by_time(alg)
3030
tmp = f(uprev, p, t + dt)
3131
OrdinaryDiffEqCore.increment_nf!(integrator.stats, 1)

0 commit comments

Comments
 (0)