Skip to content

Commit

Permalink
maybe fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oscardssmith authored Nov 8, 2023
1 parent 755264e commit d110878
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/initdt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
f(f₀, u0, p, t)
else
# TODO: use more caches
f₀ = similar(first(get_tmp_cache(integrator)), size(u0))
fill!(f₀, zero(eltype(f₀)))
f₀ = zeros(first(get_tmp_cache(integrator)), size(u0))
f(f₀, u0, p, t)
end

Expand Down

0 comments on commit d110878

Please sign in to comment.