Skip to content

Commit 57762a2

Browse files
committed
revert needless resetting of average value
1 parent bf89303 commit 57762a2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/expr/helper/helper.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,6 @@ func SummarizeValues(f string, values []float64, absent []bool) (float64, bool,
210210
}
211211
if total > 0 {
212212
rv /= float64(total)
213-
} else {
214-
rv = 0.0
215213
}
216214
case "max":
217215
rv = math.Inf(-1)

0 commit comments

Comments
 (0)