folly
folly copied to clipboard
correct the wrong comment for encodeZigZag
The comment for encodeZigZag(x) is wrong.
Should be encodeZigZag(x) == -2*x - 1, as
encodeZigZag(-1) = 1
and
encodeZigZag(-2) = 3
Closes #2046