From 957bcf587003831339c09d4e114c883b713aa2b2 Mon Sep 17 00:00:00 2001 From: Elham Islam Date: Mon, 15 Jul 2024 14:56:40 -0700 Subject: [PATCH] [telem] remove empty series --- x/go/telem/series_factory.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/x/go/telem/series_factory.go b/x/go/telem/series_factory.go index 7789a9de94..3a89b821cd 100644 --- a/x/go/telem/series_factory.go +++ b/x/go/telem/series_factory.go @@ -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")