aboutsummaryrefslogtreecommitdiff
path: root/core/math.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-09-15 15:39:38 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-09-15 15:39:57 -0700
commitf8cfdd0f2276afe2f924295c192256601db595db (patch)
treedbc479765e51b3172f03103eea7dd1f694914365 /core/math.nom
parentb721356d8bff2631b90c5c091568327b2ca187fc (diff)
Better parsing of strings and handling of non-printable characters and
tabs.
Diffstat (limited to 'core/math.nom')
-rw-r--r--core/math.nom4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/math.nom b/core/math.nom
index 11282a4..d6ddbce 100644
--- a/core/math.nom
+++ b/core/math.nom
@@ -99,8 +99,8 @@ action [avg of %items, average of %items] (=lua "(utils.sum(\%items)/#\%items)")
compile [min of %items, smallest of %items, lowest of %items] to (..)
Lua value "utils.min(\(%items as lua expr))"
-compile [max of %items, biggest of %items, largest of %items, highest of %items] to
-..(Lua value "utils.max(\(%items as lua expr))")
+compile [max of %items, biggest of %items, largest of %items, highest of %items] to (..)
+ Lua value "utils.max(\(%items as lua expr))"
test:
assume ((min of [3, -4, 1, 2] by % = (% * %)) == 1)