Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commitafb024163e4fee81a6a6af903abcbae2de82f2d3 (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-12-07 18:22:43 +0200
Committer
 Syndamia <kamen@syndamia.com>
2022-12-07 18:22:43 +0200
Filesb292c81db20c1e91bea92f96b91b2da6d686c00f /src
senzill-afb024163e4fee81a6a6af903abcbae2de82f2d3.tar
senzill-afb024163e4fee81a6a6af903abcbae2de82f2d3.tar.gz
senzill-afb024163e4fee81a6a6af903abcbae2de82f2d3.zip
Parentc305c5979e77184276dbcd691e1b8bc5772130d2 (diff)
[math] Updated op= to use funcall instead of apply
1 files changed, 1 insertions, 1 deletions
-rw-r--r--src/math.lisp2
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)"