Skip to content

Commit 82ba580

Browse files
committed
BUG: cell to fix was wrong
1 parent b4ca9de commit 82ba580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ void fill_corners(arma_cube &values, int64_t nGCs) {
2929
values.tube(iGCx, nYs - nGCs - 1) +
3030
values.tube(nGCs, nYs - iGCy - 1));
3131
// upper right:
32-
values.tube(nXs - iGCx - 1, iGCy) = 0.5 * (
32+
values.tube(nXs - iGCx - 1, nYs - iGCy - 1) = 0.5 * (
3333
values.tube(nXs - iGCx - 1, nYs - nGCs - 1) +
3434
values.tube(nXs - nGCs - 1, nYs - iGCy - 1));
3535
}

0 commit comments

Comments
 (0)