Closed Vawheter closed 4 years ago
Seems that there is a little bug in log2(x: usize) function in the algebra-core lib. When x is 2^i, the function returns i+1.
Thanks for the PR and for bringing this issue up! I adapted your code and fixed this in #274.
Seems that there is a little bug in log2(x: usize) function in the algebra-core lib. When x is 2^i, the function returns i+1.