Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix #146 #176

Merged
merged 2 commits into from
May 29, 2024
Merged

Fix #146 #176

merged 2 commits into from
May 29, 2024

Conversation

fhilgers
Copy link
Contributor

The fix for #146.

I also upper_pow_two(0) = 1 instead of upper_pow_two(0) = 2 as that should be as far as I understand the mathematically correct next upper power. Let me know if that is fine, if not I will change it back.

@srdja
Copy link
Owner

srdja commented May 29, 2024

@fhilgers
Thanks!

Setting it to 1 is definitely correct. I'm not really sure why it was set to 2. Maybe it was an early workaround, or maybe it was just an error, who knows. :)

@srdja srdja merged commit d981423 into srdja:master May 29, 2024
3 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants