genthalili/lire

java.lang.ArrayStoreException in KMeans

Opened this issue · 0 comments

int line 87:
System.arraycopy(descriptor, 0, clusters[i].mean, 0, descriptor.length);

clusters[i].mean is float[], but descriptor is double[], so it will cause 
java.lang.ArrayStoreException

I am use version 0.9.3

Original issue reported on code.google.com by po.l...@fengxingsoftware.com on 31 Mar 2014 at 2:28