mirror of
https://github.com/gonum/gonum.git
synced 2025-10-06 15:47:01 +08:00
floats: fix formatting and grammar
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
// Copyright ©2013 The Gonum Authors. All rights reserved.
|
||||
// Use of this code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package floats
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
import "fmt"
|
||||
|
||||
// Set of examples for all the functions
|
||||
|
||||
@@ -52,7 +50,7 @@ func ExampleAdd_newslice() {
|
||||
|
||||
func ExampleAdd_unequallengths() {
|
||||
// If the lengths of the slices are unknown,
|
||||
// use Eqlen to check
|
||||
// use EqualLengths to check
|
||||
s1 := []float64{1, 2, 3}
|
||||
s2 := []float64{5, 6, 7, 8}
|
||||
|
||||
|
Reference in New Issue
Block a user