Skip to content

Commit

Permalink
correct
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipDeegan committed Oct 2, 2021
1 parent 096ddb8 commit 8d93286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/data/ndarray/ndarray_vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ class NdArrayMask
x -= i * 2;
y -= i * 2;
z -= i * 2;
cells += (x * x * 2) + (y * (y - 2) * 2) + ((z - 2) * (z - 2) * 2);
cells += (x * y * 2) + (y * (z - 2) * 2) + ((z - 2) * (x - 2) * 2);
}
}
return cells;
Expand Down

0 comments on commit 8d93286

Please sign in to comment.