hash/buzhash: remove overzealous rotation warning
This commit is contained in:
parent
209a6800c4
commit
8e92563a15
@ -47,8 +47,7 @@ namespace cruft::hash {
|
||||
{
|
||||
// Zero width would make for a constant zero hash.
|
||||
CHECK_NEZ (_width);
|
||||
// Rotations greater than data type size is often undefined.
|
||||
CHECK_LT (_width, sizeof (WordT ) * 8);
|
||||
// Rotations greater than data type size are often undefined.
|
||||
CHECK_LT (_width, sizeof (StateT) * 8);
|
||||
|
||||
if (_init.size () < m_width)
|
||||
|
Loading…
Reference in New Issue
Block a user