From accb03f042c049ca78d07546f84c878ae2cdea9e Mon Sep 17 00:00:00 2001 From: Nicolas Date: Mon, 2 Mar 2026 21:31:07 +0100 Subject: [PATCH] Fix in test function "get_42" --- src/copapy/_math.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/copapy/_math.py b/src/copapy/_math.py index dd26bf6..fcd14c9 100644 --- a/src/copapy/_math.py +++ b/src/copapy/_math.py @@ -310,7 +310,7 @@ def get_42(x: value[Any]) -> value[float]: ... def get_42(x: NumLike) -> value[float] | float: """Returns the value representing the constant 42""" if isinstance(x, value): - return add_op('get_42', [x, x]) + return add_op('get_42', [x]) return float((int(x) * 3.0 + 42.0) * 5.0 + 21.0)