aboutsummaryrefslogtreecommitdiff
path: root/src/math.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/math.lisp')
-rw-r--r--src/math.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math.lisp b/src/math.lisp
index 89ccb0a..39eaa6c 100644
--- a/src/math.lisp
+++ b/src/math.lisp
@@ -6,7 +6,7 @@
(defmacro op= (operation value &rest others)
"Executes operation on all values and stores result in first argument"
- `(setf ,value (apply ,operation ,value ',others)))
+ `(setf ,value (funcall ,operation ,value ,@others)))
(defmacro += (value &rest numbers)
"Sums all numbers and stores result in name (first argument)"