From d110878b8851d45eb5a895288b206203a51ee7f7 Mon Sep 17 00:00:00 2001 From: Oscar Smith Date: Wed, 8 Nov 2023 17:47:23 -0500 Subject: [PATCH] maybe fix --- src/initdt.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/initdt.jl b/src/initdt.jl index b99c01c491..f55733a521 100644 --- a/src/initdt.jl +++ b/src/initdt.jl @@ -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