types: fix return value var

This commit is contained in:
c9s 2023-06-04 14:09:02 +08:00
parent 97e7b93997
commit 24003139f4
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

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