Skip to content

Commit a3faff7

Browse files
authored
Merge pull request #2015 from CliMA/ncc/closure_tuples-patch
Fix bug in `TurbulenceClosures`
2 parents eaf51cc + 95f3fd2 commit a3faff7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TurbulenceClosures/closure_tuples.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ for stress_div in (:∂ⱼ_τ₁ⱼ, :∂ⱼ_τ₂ⱼ, :∂ⱼ_τ₃ⱼ)
1717

1818
@inline $stress_div(i, j, k, grid::AbstractGrid, closures::Tuple, clock, U, Ks, args...) = (
1919
$stress_div(i, j, k, grid, closures[1:2], clock, U, Ks[1:2], args...)
20-
+ $stress_div(i, j, k, grid, closures[3:end], clock, U, K[3:end], args...))
20+
+ $stress_div(i, j, k, grid, closures[3:end], clock, U, Ks[3:end], args...))
2121
end
2222
end
2323

0 commit comments

Comments
 (0)