We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b900ac commit 6643429Copy full SHA for 6643429
components/omega/src/ocn/VertMix.h
@@ -43,7 +43,7 @@ class ConvectiveMix {
43
KOKKOS_FUNCTION void operator()(Array2DReal VertDiff, Array2DReal VertVisc,
44
I4 ICell,
45
const Array2DReal &BruntVaisalaFreq) const {
46
- for (int K = 1; K <= NVertLayers; ++K) {
+ for (int K = 1; K < NVertLayers; ++K) {
47
if (K == 0) {
48
VertVisc(ICell, K) = 0.0_Real;
49
VertDiff(ICell, K) = 0.0_Real;
@@ -80,7 +80,7 @@ class PPShearMix {
80
const Array2DReal &TangentialVelocity,
81
82
83
- for (int K = 0; K <= NVertLayers; ++K) {
+ for (int K = 0; K < NVertLayers; ++K) {
84
85
86
0 commit comments