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
This line
Bits.jl/src/Bits.jl
Line 412 in 6f318ae
l = v isa BitVector1 ? lastactualpos(v.x) : length(v)
would make it more generic. Better yet would be something like:
printlength(v::Bits.BitVector1) = Bits.lastactualpos(v.x) printlength(v) = length(v)
And then
l = printlength(v)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This line
Bits.jl/src/Bits.jl
Line 412 in 6f318ae
Only supports current subtypes. I made a subtype that stores length in a different way. Using this line:
would make it more generic. Better yet would be something like:
And then
The text was updated successfully, but these errors were encountered: