Skip to content

Commit

Permalink
Update firk_perform_step.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Shreyas-Ekanathan committed Sep 3, 2024
1 parent 8574f04 commit 71e13ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/OrdinaryDiffEqFIRK/src/firk_perform_step.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1769,7 +1769,7 @@ end
if integrator.EEst <= oneunit(integrator.EEst)
cache.dtprev = dt
if alg.extrapolant != :constant
derivatives = Matrix{Any}(undef, num_stages, num_stages)
derivatives = Matrix{typeof(u)}(undef, num_stages, num_stages)
pushfirst!(c, 0)
pushfirst!(z, map(zero, u))
for i in 1 : num_stages
Expand Down

0 comments on commit 71e13ef

Please sign in to comment.