mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 08:45:16 +00:00
types: fix return value var
This commit is contained in:
parent
97e7b93997
commit
24003139f4
|
@ -85,11 +85,11 @@ func (s *SeriesBase) Dot(b interface{}, limit ...int) float64 {
|
||||||
return Dot(s, b, limit...)
|
return Dot(s, b, limit...)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *SeriesBase) Array(limit ...int) (result []float64) {
|
func (s *SeriesBase) Array(limit ...int) []float64 {
|
||||||
return Array(s, limit...)
|
return Array(s, limit...)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *SeriesBase) Reverse(limit ...int) (result floats.Slice) {
|
func (s *SeriesBase) Reverse(limit ...int) floats.Slice {
|
||||||
return Reverse(s, limit...)
|
return Reverse(s, limit...)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user