Changed order of signature in Nearest

This commit is contained in:
btracey
2013-07-26 11:00:42 -07:00
parent a45071abd3
commit 3e9dc87057
2 changed files with 17 additions and 16 deletions

View File

@@ -283,8 +283,9 @@ func TestMin(t *testing.T) {
}
func TestNearest(t *testing.T) {
//s := []float64{3, 5, 6.2, 6.2, 8}
//ind := Nearest(s, )
s := []float64{3, 5, 6.2, 6.2, 8}
ind := Nearest(2.0, s)
if
}
func TestNorm(t *testing.T) {