floats: fix formatting and grammar

This commit is contained in:
Dan Kortschak
2020-03-16 15:22:44 +10:30
parent 476cdbff13
commit 6ded9ce79f
4 changed files with 24 additions and 27 deletions

View File

@@ -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}