Skip to content

Commit

Permalink
zero
Browse files Browse the repository at this point in the history
  • Loading branch information
trontrytel committed Jan 15, 2025
1 parent d25a4fb commit ac8a0fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/prognostic_equations/implicit/implicit_solver.jl
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,8 @@ function update_implicit_equation_jacobian!(A, Y, p, dtγ)
)
if !(p.atmos.moisture_model isa DryModel) || use_derivative(diffusion_flag)
∂ᶜρe_tot_err_∂ᶜρe_tot = matrix[@name(c.ρe_tot), @name(c.ρe_tot)]
@. ∂ᶜρe_tot_err_∂ᶜρe_tot = zero(∂ᶜρe_tot_err_∂ᶜρe_tot) - (I,)
@. ∂ᶜρe_tot_err_∂ᶜρe_tot =
TridiagonalMatrixRow(FT(0), FT(0), FT(0)) - (I,)
end

if !(p.atmos.moisture_model isa DryModel)
Expand Down

0 comments on commit ac8a0fa

Please sign in to comment.