Skip to content

Commit

Permalink
maybe this time
Browse files Browse the repository at this point in the history
  • Loading branch information
oscardssmith committed Nov 9, 2023
1 parent 3649f66 commit b3d70d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/initdt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
f(f₀, u0, p, t)
else
# TODO: use more caches
f₀ = similar(first(get_tmp_cache(integrator)), size(u0))
f₀ = first(get_tmp_cache(integrator))
if u0 isa Array && eltype(u0) isa Number
fill!(f₀, zero(T))
else
Expand Down

0 comments on commit b3d70d3

Please sign in to comment.