Commit fe32ccc0 authored by Juergen Nickelsen's avatar Juergen Nickelsen
Browse files

fixed shameful min/max blunder, which made them ignore half their arguments

parent 945faad5
......@@ -5,7 +5,7 @@
"return the biggest of all (numeric) arguments"
(if (null numargs)
first
(let ((next (apply #'max (cdr numargs))))
(let ((next (apply #'max numargs)))
(if (< first next)
next
first))))
......@@ -14,7 +14,7 @@
"return the smallest of all (numeric) arguments"
(if (null numargs)
first
(let ((next (apply #'min (cdr numargs))))
(let ((next (apply #'min numargs)))
(if (< first next)
first
next))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment