mirror of
https://github.com/gonum/gonum.git
synced 2025-10-09 09:00:38 +08:00
Changed order of arguments of many functions. Added test for nearest
This commit is contained in:
@@ -90,7 +90,7 @@ func ExampleAddConst() {
|
||||
s := []float64{1, -2, 3, -4}
|
||||
c := 5.0
|
||||
|
||||
AddConst(s, c)
|
||||
AddConst(c, s)
|
||||
|
||||
fmt.Println("s = ", s)
|
||||
// Output:
|
||||
|
Reference in New Issue
Block a user