From adb19b5aa23633d66b5c789c03b0256ef2f4a66a Mon Sep 17 00:00:00 2001 From: Gabriele Bozzola Date: Fri, 13 Sep 2024 14:22:38 -0700 Subject: [PATCH] =?UTF-8?q?Fix=20missing=20dt=CE=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit W = dtγJ - 1 --- test/problems.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/problems.jl b/test/problems.jl index 74155321..e98fea8b 100644 --- a/test/problems.jl +++ b/test/problems.jl @@ -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