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