From 7c373e1084f029cf87764a00be6fb7b0ecb30ee7 Mon Sep 17 00:00:00 2001 From: Christopher Hunter <8398225+crhntr@users.noreply.github.com> Date: Tue, 15 Aug 2023 23:02:20 -0700 Subject: [PATCH] fix go 1.21 compilation failure --- returns/table.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/returns/table.go b/returns/table.go index 0dfaf95..9c12f59 100644 --- a/returns/table.go +++ b/returns/table.go @@ -147,7 +147,7 @@ func (table Table) AddColumn(list List) Table { func (table Table) Equal(other Table) bool { return slices.EqualFunc(table.times, other.times, time.Time.Equal) && - slices.EqualFunc(table.values, other.values, slices.Equal[float64]) + slices.EqualFunc[[]float64](table.values, other.values, slices.Equal[float64]) } func (table Table) AddColumns(lists []List) Table {