You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could be wrong here, but would you want parenthesis around the numerator? Otherwise order of operations takes precedence, which I'm not sure is correct.
Thanks. I'd be happy to put in a pull request for you, if need be.
The text was updated successfully, but these errors were encountered:
In
families/CityBlockHash.java
, you calculate the hash with the following code (line 51):hash[d] = (int) (vector.get(d)-randomPartition.get(d) / Double.valueOf(w));
I could be wrong here, but would you want parenthesis around the numerator? Otherwise order of operations takes precedence, which I'm not sure is correct.
Thanks. I'd be happy to put in a pull request for you, if need be.
The text was updated successfully, but these errors were encountered: