`Equal()` panics when called with bitsets with different `set` lengths
omerfirmak opened this issue · 1 comments
omerfirmak commented
Lines 603 to 615 in 312c8c2
even tho b.length == c.length
, len(b.set)
and len(c.set)
could be different.
Equal should check if wordsNeeded(b.length)
number of words are equal.
lemire commented
I agree.