lib/uint64set: typo fix in Set.Intersect

This commit is contained in:
Aliaksandr Valialkin 2020-01-17 18:10:58 +02:00
parent cdcacaea6d
commit 0c8ad08578

View file

@ -198,7 +198,7 @@ func (s *Set) Intersect(a *Set) {
i := 0 i := 0
j := 0 j := 0
for { 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{} s.buckets[i] = bucket32{}
i++ i++
} }