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)