Skip to content

Commit

Permalink
0 != zero(T)
Browse files Browse the repository at this point in the history
  • Loading branch information
oscardssmith committed Nov 8, 2023
1 parent 8568216 commit 9ac39ff
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 @@ -44,7 +44,7 @@
else
# TODO: use more caches
f₀ = similar(first(get_tmp_cache(integrator)), length(u0))
fill!(f₀, 0)
fill!(f₀, zero(eltype(f₀)))
f(f₀, u0, p, t)
end

Expand Down

0 comments on commit 9ac39ff

Please sign in to comment.