tdebatty / java-LSH

A Java implementation of Locality Sensitive Hashing (LSH)
Other
295 stars 84 forks source link

Negative bucket index #9

Closed kumaramit01 closed 8 years ago

kumaramit01 commented 8 years ago

When I run the SimpleLSHMinHashExample with a large size of the vector say n = 100000 -I end up getting negative bucket:

Errors with

java -Xmx16G -classpath java-string-similarity-0.13.jar:java-lsh-0.8.jar:. SimpleLSHMinHashExample Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -4 at SimpleLSHMinHashExample.main(SimpleLSHMinHashExample.java:48)

tdebatty commented 8 years ago

Hi,

Thank you for reporting this bug. I will fix it and publish a new release as soon as possible!

tdebatty commented 8 years ago

Fixed in release 0.9