Skip to content

Commit

Permalink
Remove assert (it's no longer meaningful)
Browse files Browse the repository at this point in the history
dktapps committed May 9, 2022
1 parent fa93d1e commit 2dfe5d9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/PalettedBlockArray.h
Original file line number Diff line number Diff line change
@@ -96,7 +96,6 @@ class PalettedBlockArray final : public IPalettedBlockArray<Block> {
}

inline void find(Coord x, Coord y, Coord z, unsigned short &wordIdx, unsigned char &shift) const {
assert(x < Base::ARRAY_DIM && y < Base::ARRAY_DIM && z < Base::ARRAY_DIM);
unsigned short idx = getArrayOffset(x, y, z);

wordIdx = idx / BLOCKS_PER_WORD;

0 comments on commit 2dfe5d9

Please sign in to comment.