Skip to content

Commit 6c5f074

Browse files
fix missing variable
1 parent 6af254d commit 6c5f074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/perform_step/extrapolation_perform_step.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ end
233233
function initialize!(integrator,cache::ImplicitEulerExtrapolationCache)
234234
integrator.kshortsize = 2
235235

236-
integrator.fsalfirst = zero(cache.k_tmp)
236+
integrator.fsalfirst = zero(first(cache.k_tmps))
237237
integrator.f(integrator.fsalfirst, integrator.u, integrator.p, integrator.t)
238238
integrator.fsallast = zero(integrator.fsalfirst)
239239
resize!(integrator.k, integrator.kshortsize)

0 commit comments

Comments
 (0)