Skip to content

Commit 92478ea

Browse files
authored
Merge pull request #334 from CliMA/gb/fixdt_gamma
Fix missing dtγ
2 parents 73d15e1 + e3ad8f3 commit 92478ea

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)