mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Merge pull request #590 from jaffee/set-n-at-end
set n based on array length instead of incrementing repeatedly
This commit is contained in:
commit
fa4234b04c
1 changed files with 1 additions and 1 deletions
|
|
@ -1373,10 +1373,10 @@ func intersectArrayArray(a, b *container) *container {
|
|||
j++
|
||||
} else {
|
||||
output.array = append(output.array, va)
|
||||
output.n++
|
||||
i, j = i+1, j+1
|
||||
}
|
||||
}
|
||||
output.n = len(output.array)
|
||||
return output
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue