-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TestRandCentroids fails #7
Comments
I'll see if I can duplicate this on my home machine - in the meantime, could I ask you for the |
I had these in my ignore file. I'll add them to the repository this
|
I fixed this. Instead of returning an error, which invalidates the interface, if k > row then k = row. |
Thanks for updating! Sorry I didn't get to it sooner. I'd had trouble On Aug 28, 2012, at 3:27 PM, Bob Hancock notifications@github.com wrote: I fixed this. Instead of returning an error, which invalidates the — |
./km_test.go:85: cannot use DataCentroids literal (type DataCentroids) as type CentroidChooser in array element:
DataCentroids does not implement CentroidChooser (wrong type for ChooseCentroids method)
have ChooseCentroids(_matrix.DenseMatrix, int) (_matrix.DenseMatrix, error)
want ChooseCentroids(*matrix.DenseMatrix, int) *matrix.DenseMatrix
The text was updated successfully, but these errors were encountered: