From 2dfe5d991daf4c3a994695ed9912c72f405f3442 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 10 May 2022 00:42:25 +0100 Subject: [PATCH] Remove assert (it's no longer meaningful) --- lib/PalettedBlockArray.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/PalettedBlockArray.h b/lib/PalettedBlockArray.h index 5b80696..0565ac4 100644 --- a/lib/PalettedBlockArray.h +++ b/lib/PalettedBlockArray.h @@ -96,7 +96,6 @@ class PalettedBlockArray final : public IPalettedBlockArray { } 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;