Skip to content

Commit

Permalink
Add safety zeroing in RadauIIA5 non fully defined Jacobians
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Nov 26, 2023
1 parent e11d38a commit 680301f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/caches/firk_caches.jl
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ function alg_cache(alg::RadauIIA5, u, rate_prototype, ::Type{uEltypeNoUnits},
error("Non-concrete Jacobian not yet supported by RadauIIA5.")
end
W2 = similar(J, Complex{eltype(W1)})
recursivefill!(W2, false)

du1 = zero(rate_prototype)

Expand Down

0 comments on commit 680301f

Please sign in to comment.