diff --git a/core/src/com/riiablo/io/BitInput.java b/core/src/com/riiablo/io/BitInput.java index 8451098a..94453032 100644 --- a/core/src/com/riiablo/io/BitInput.java +++ b/core/src/com/riiablo/io/BitInput.java @@ -284,7 +284,7 @@ public class BitInput { if (bits <= 0) return 0; if (bits == Long.SIZE) return _readRaw(Long.SIZE); final int shift = Long.SIZE - bits; - assert shift > 0; + assert shift > 0 : "shift(" + shift + ") <= " + 0; final long value = readUnsigned(bits); return value << shift >> shift; }