lib/uint64set: typo fix in Set.Intersect

This commit is contained in:
Aliaksandr Valialkin 2020-01-17 18:10:58 +02:00
parent 54db08a60f
commit 29d21259f0

View file

@ -198,7 +198,7 @@ func (s *Set) Intersect(a *Set) {
i := 0
j := 0
for {
for i < len(s.buckets) && j <= len(a.buckets) && s.buckets[i].hi < a.buckets[j].hi {
for i < len(s.buckets) && j < len(a.buckets) && s.buckets[i].hi < a.buckets[j].hi {
s.buckets[i] = bucket32{}
i++
}