revert the hamming distance to use unsigned long, on 64bit machines, using size_t
with __build_popcountl doesn't return correct number of bits. the ll version should work, but for simplicity, locking it down to long for now. TODO add a unit test for the Hamming distance.
Showing
Please
register
or
sign in
to comment