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

Wrong comment on line 73 #24

Open
pekpuglia opened this issue Sep 5, 2022 · 0 comments
Open

Wrong comment on line 73 #24

pekpuglia opened this issue Sep 5, 2022 · 0 comments

Comments

@pekpuglia
Copy link

Hi, I'm starting to use this library for a project and wanted to understand the code it uses. I noticed however that the comment on line 73 says exactly the opposite of what the code does: the line d |= (1 << i); sets the i-th bit to 1 no matter what. It's a simple issue and doesn't affect the code, but it can be quite confusing.

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

No branches or pull requests

1 participant