Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docstring copy/paste error for IntersectionCardinality ? #162

Closed
gaissmai opened this issue Jul 4, 2024 · 1 comment · Fixed by #163
Closed

docstring copy/paste error for IntersectionCardinality ? #162

gaissmai opened this issue Jul 4, 2024 · 1 comment · Fixed by #163

Comments

@gaissmai
Copy link
Contributor

gaissmai commented Jul 4, 2024

Hi,

maybe the docstring is here wrong, at least in my opinion, but I'm not a native speaker:

func (b *BitSet) IntersectionCardinality(compare *BitSet) uint
    IntersectionCardinality computes the cardinality of the union

should be:

func (b *BitSet) IntersectionCardinality(compare *BitSet) uint
    IntersectionCardinality computes the cardinality of the intersection

thanks for the wonderful library!

@lemire
Copy link
Member

lemire commented Jul 4, 2024

Thanks. Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants