Noise divisor code should not be incremented
42plamusse opened this issue · 0 comments
42plamusse commented
Line 998 in 87865c1
n
should not be incremented by 1. Otherwise, by example, if n = 1
you will get a divisor value of 32 instead of the 16 expected.
You can also use this operation instead:
n => u32::from(n) << 4