Bug[ring
]: NTTLazy returns values outside of the range [0, 2q-1]
#524
Labels
bug
Something isn't working
ring
]: NTTLazy returns values outside of the range [0, 2q-1]
#524
To be clear, this is not a correctness issue and it can also be treated as a documentation issue and cleared by updating the documentation to the range [0, 4q-2]. However the convention for the suffix
lazy
in Lattigo usually means the output values are expected to be in the range [0, 2q-1]. Predictable range is especially important when doing lazy additions, to know how many additions can be done without modular reduction before values wrap around u64.The text was updated successfully, but these errors were encountered: