From 4ac4e2ca4be823963e96b3338fda5e38e566eaf0 Mon Sep 17 00:00:00 2001 From: Levi Harrison Date: Wed, 25 Aug 2021 17:18:05 -0400 Subject: [PATCH] Remove parenthesis Signed-off-by: Levi Harrison --- promql/functions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/promql/functions.go b/promql/functions.go index 7d1db327d..50594503d 100644 --- a/promql/functions.go +++ b/promql/functions.go @@ -633,7 +633,7 @@ func funcAtanh(vals []parser.Value, args parser.Expressions, enh *EvalNodeHelper // === rad(Vector parser.ValueTypeVector) Vector === func funcRad(vals []parser.Value, args parser.Expressions, enh *EvalNodeHelper) Vector { return simpleFunc(vals, enh, func(v float64) float64 { - return v * (math.Pi / 180) + return v * math.Pi / 180 }) }