From 8c929d12f45c853b91c1ed6ce7ab756bd3ba7eff Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Thu, 4 Jul 2024 14:44:52 -0400 Subject: [PATCH] fix for issue 162 --- bitset.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitset.go b/bitset.go index 9f38ed3..4c57a49 100644 --- a/bitset.go +++ b/bitset.go @@ -737,7 +737,7 @@ func (b *BitSet) Intersection(compare *BitSet) (result *BitSet) { return } -// IntersectionCardinality computes the cardinality of the union +// IntersectionCardinality computes the cardinality of the intersection func (b *BitSet) IntersectionCardinality(compare *BitSet) uint { panicIfNull(b) panicIfNull(compare)