fix float64 series use mean or stdev function result is zero

This commit is contained in:
Any Yang 2024-08-07 17:52:39 +08:00 committed by GitHub
parent eb6e5cda39
commit 8773c220f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ type Float64Series struct {
func NewFloat64Series(v ...float64) *Float64Series {
s := &Float64Series{}
s.Slice = v
s.SeriesBase.Series = s.Slice
s.SeriesBase.Series = &s.Slice
return s
}