Remove parenthesis

Signed-off-by: Levi Harrison <git@leviharrison.dev>
This commit is contained in:
Levi Harrison 2021-08-25 17:18:05 -04:00
parent 6faca22eec
commit 4ac4e2ca4b
1 changed files with 1 additions and 1 deletions

View File

@ -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
})
}