Skip to content

Commit

Permalink
[telem] remove empty series
Browse files Browse the repository at this point in the history
  • Loading branch information
Lham42 committed Jul 15, 2024
1 parent c52d849 commit 957bcf5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions x/go/telem/series_factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ import (
"github.com/synnaxlabs/x/types"
)

func EmptySeries(dt DataType) (series Series) {
series.DataType = dt
series.Data = make([]byte, 0)
return series
}

func NewSeries[T types.Numeric](data []T) (series Series) {
if len(data) == 0 {
panic("cannot infer data type from empty array")
Expand Down

0 comments on commit 957bcf5

Please sign in to comment.