Fix in test function "get_42"

This commit is contained in:
Nicolas 2026-03-02 21:31:07 +01:00
parent 2eb49cc2e5
commit accb03f042
1 changed files with 1 additions and 1 deletions

View File

@ -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)