Skip to content

Commit e9f58ca

Browse files
committed
Fix missing dtγ
W = dtγJ - 1
1 parent 0c57a2f commit e9f58ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/problems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ function climacore_1Dheat_test_implicit_cts(::Type{FT}) where {FT}
586586
function Wfact(W, Y, p, dtγ, t)
587587
name = @name(u)
588588
# NOTE: We need MatrixFields.⋅, not LinearAlgebra.⋅
589-
@. W.matrix[name, name] = diverg_matrix() grad_matrix() - (LinearAlgebra.I,)
589+
@. W.matrix[name, name] = dtγ * diverg_matrix() grad_matrix() - (LinearAlgebra.I,)
590590
return nothing
591591
end
592592

0 commit comments

Comments
 (0)