Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire committed Aug 23, 2024
2 parents 29e970f + 67644e6 commit 5fdaf6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bitset.go
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,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)
Expand Down
2 changes: 1 addition & 1 deletion bitset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func TestBitSetIsClear(t *testing.T) {
}
}

func TestExendOnBoundary(t *testing.T) {
func TestExtendOnBoundary(t *testing.T) {
v := New(32)
defer func() {
if r := recover(); r != nil {
Expand Down

0 comments on commit 5fdaf6b

Please sign in to comment.