We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
julia> s = IntSet(2^32); julia> length(s) 1 julia> for b in s; println(b); end 0 0 0 0 0 0 0 0 ^CERROR: interrupt julia> show(s) IntSet([0, 0, 0, 0, 0, 0, 0, 0, 0^CERROR: interrupt
It's possible that doing #3039 will also fix this?
The text was updated successfully, but these errors were encountered:
Here's a patch; don't have time to write a test and commit right now:
diff --git a/src/support/bitvector.c b/src/support/bitvector.c index 5742ac1..9f78dff 100644 --- a/src/support/bitvector.c +++ b/src/support/bitvector.c @@ -118,7 +118,7 @@ uint64_t bitvector_next(uint32_t *b, uint64_t n0, uint64_t n while (i < nw-1) { w = b[i]; if (w != 0) { - return ntz(w) + (i<<5); + return ntz(w) + (((uint64_t)i)<<5); } i++; }
Sorry, something went wrong.
496351e
Fix #8570 and add test.
8b90952
(cherry picked from commit 496351e) ref: #8571
Successfully merging a pull request may close this issue.
It's possible that doing #3039 will also fix this?
The text was updated successfully, but these errors were encountered: