From afb024163e4fee81a6a6af903abcbae2de82f2d3 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 7 Dec 2022 18:22:43 +0200 Subject: [math] Updated op= to use funcall instead of apply --- src/math.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)" -- cgit v1.2.3