Skip to content

Commit

Permalink
Fix missing dtγ
Browse files Browse the repository at this point in the history
W = dtγJ - 1
  • Loading branch information
Sbozzolo committed Sep 13, 2024
1 parent 8a2bb9c commit adb19b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/problems.jl
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ function climacore_1Dheat_test_implicit_cts(::Type{FT}) where {FT}
function Wfact(W, Y, p, dtγ, t)
name = @name(u)
# NOTE: We need MatrixFields.⋅, not LinearAlgebra.⋅
@. W.matrix[name, name] = diverg_matrix() grad_matrix() - (LinearAlgebra.I,)
@. W.matrix[name, name] = dtγ * diverg_matrix() grad_matrix() - (LinearAlgebra.I,)
return nothing
end

Expand Down

0 comments on commit adb19b5

Please sign in to comment.