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
ring
getMinimumGap
The following piece of code of the function
lattigo/core/rlwe/ring_packing.go
Line 834 in 1d70f2c
is incoherent:
for gap&1 == 0 { logGap++ // gap.trailing_zeros() gap >>= 1 // gap >> gap.trailing_zeros() }
but x.trailing_zeros() != (x >> x.trailing_zeros()).bit_length().
x.trailing_zeros() != (x >> x.trailing_zeros()).bit_length()
edit: the naming logGap is misleading, but the returned value is what is expected by the other methods that call it.
logGap
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following piece of code of the function
lattigo/core/rlwe/ring_packing.go
Line 834 in 1d70f2c
is incoherent:
but
x.trailing_zeros() != (x >> x.trailing_zeros()).bit_length()
.edit: the naming
logGap
is misleading, but the returned value is what is expected by the other methods that call it.The text was updated successfully, but these errors were encountered: