Skip to content

Commit

Permalink
revert needless resetting of average value
Browse files Browse the repository at this point in the history
  • Loading branch information
spacefreak86 committed Nov 30, 2024
1 parent bf89303 commit 57762a2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/expr/helper/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,6 @@ func SummarizeValues(f string, values []float64, absent []bool) (float64, bool,
}
if total > 0 {
rv /= float64(total)
} else {
rv = 0.0
}
case "max":
rv = math.Inf(-1)
Expand Down

0 comments on commit 57762a2

Please sign in to comment.