From 021a48b7b8d53b068eeb0db43c84e022ca13166c Mon Sep 17 00:00:00 2001 From: Christopher LaPointe Date: Tue, 17 Dec 2024 22:45:37 -0500 Subject: [PATCH] Swap backwards comparison --- pkg/aggregation/table.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/aggregation/table.go b/pkg/aggregation/table.go index bd28fdf3..48553dde 100644 --- a/pkg/aggregation/table.go +++ b/pkg/aggregation/table.go @@ -135,10 +135,10 @@ func (s *TableAggregator) ComputeMinMax() (min, max int64) { } } - if min == math.MinInt64 { + if min == math.MaxInt64 { min = 0 } - if max == math.MaxInt64 { + if max == math.MinInt64 { max = 0 } return