arun21-nit / lire

Automatically exported from code.google.com/p/lire
Other
0 stars 0 forks source link

java.lang.ArrayStoreException in KMeans #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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