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

Overflowing bitshift on architectures where long is shorter than index_t #25

Closed
gspr opened this issue Mar 7, 2020 · 1 comment
Closed

Comments

@gspr
Copy link

gspr commented Mar 7, 2020

The 1l in the definition of max_simplex_index should probably be (index_t)1, otherwise the code fails on a bunch of platforms where 1l is 32 bit.

@ubauer
Copy link
Member

ubauer commented Apr 27, 2022

Thank you! It is fixed now.

@ubauer ubauer closed this as completed Apr 27, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants