ran go mod vendor on the whole project
This commit is contained in:
parent
26f96f361f
commit
28d10d9d39
346 changed files with 12917 additions and 66931 deletions
6
vendor/github.com/montanaflynn/stats/max.go
generated
vendored
6
vendor/github.com/montanaflynn/stats/max.go
generated
vendored
|
@ -1,15 +1,13 @@
|
|||
package stats
|
||||
|
||||
import (
|
||||
"math"
|
||||
)
|
||||
import "math"
|
||||
|
||||
// Max finds the highest number in a slice
|
||||
func Max(input Float64Data) (max float64, err error) {
|
||||
|
||||
// Return an error if there are no numbers
|
||||
if input.Len() == 0 {
|
||||
return math.NaN(), EmptyInputErr
|
||||
return math.NaN(), EmptyInput
|
||||
}
|
||||
|
||||
// Get the first value as the starting point
|
||||
|
|
Reference in a new issue