From c2bdf346c7920701bc84a18235d9bf35f0eda007 Mon Sep 17 00:00:00 2001 From: Ilmari Marttila Date: Fri, 20 Dec 2024 19:23:33 +0200 Subject: [PATCH] Remove undefined parameter for higher order function --- web/tupa/laskentatyypit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/tupa/laskentatyypit.py b/web/tupa/laskentatyypit.py index 4dbe8a0..7c4d30c 100644 --- a/web/tupa/laskentatyypit.py +++ b/web/tupa/laskentatyypit.py @@ -76,7 +76,7 @@ def operate_to_all(self, function2, other): oper = MathListDict({}) for k in self.keys(): try: - oper[k] = [(function2(self[k], x, *args) for x in other)] + oper[k] = [(function2(self[k], x) for x in other)] except KeyError: pass except TypeError: