Skip to content

Commit

Permalink
fix go 1.21 compilation failure
Browse files Browse the repository at this point in the history
  • Loading branch information
crhntr committed Aug 16, 2023
1 parent fe75905 commit 7c373e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion returns/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7c373e1

Please sign in to comment.