This project is read-only.

Possible bug related to HashSize?

Sep 19, 2013 at 3:02 AM
In the function GetHammingDistance() in SimHashAnalyser.cs:

for (int i = 0; i < 32; i++)
Should this be the following?
for (int i = 0; i < HashSize; i++)

In the event that someone changes the HashSize to 64 (or something else), the GetHammingDistance() function must also change accordingly, no?