Skip to content

Commit

Permalink
Swap backwards comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
zix99 committed Dec 18, 2024
1 parent bc5981c commit 021a48b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/aggregation/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 021a48b

Please sign in to comment.