mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/uint64set: typo fix in Set.Intersect
This commit is contained in:
parent
cdcacaea6d
commit
0c8ad08578
1 changed files with 1 additions and 1 deletions
|
@ -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++
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue