mirror of
https://github.com/gonum/gonum.git
synced 2025-10-09 00:50:16 +08:00
Changed package declaration to floats from sliceops
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package sliceops
|
||||
package floats
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
@@ -1,10 +1,11 @@
|
||||
package sliceops
|
||||
package floats
|
||||
|
||||
import "math"
|
||||
|
||||
// InsufficientElements is an error type used by FindFirst
|
||||
type InsufficientElements struct{}
|
||||
|
||||
// Error makes InsufficientElements satisfy the error interface
|
||||
func (i *InsufficientElements) Error() string {
|
||||
return "Insufficient elements found"
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package sliceops
|
||||
package floats
|
||||
|
||||
import (
|
||||
"math"
|
||||
|
Reference in New Issue
Block a user