aboutsummaryrefslogtreecommitdiff
path: root/exp
diff options
context:
space:
mode:
Diffstat (limited to 'exp')
-rw-r--r--exp/functions.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/exp/functions.go b/exp/functions.go
index 8d5b3af..1cf29bd 100644
--- a/exp/functions.go
+++ b/exp/functions.go
@@ -40,7 +40,7 @@ type LevelScale struct{}
func (LevelScale) Normalize(min, max, x float64) float64 {
if min < 0 || max < 0 || x < 0 {
- panic("Values must be positive or null for a level scale.")
+ panic("values must be positive or null for a level scale")
}
levelMin := LevelExact(min)
return (LevelExact(x) - levelMin) / (LevelExact(max) - levelMin)