atan2 python function fixed

This commit is contained in:
Nicolas 2025-11-12 21:34:53 +01:00
parent 072e9947a8
commit 443d1d19d3
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ def atan2(x: NumLike, y: NumLike) -> variable[float] | float:
Result in radian
"""
if isinstance(x, variable) or isinstance(y, variable):
return add_op('atan', [x, x]) # TODO: fix 2. dummy argument
return add_op('atan2', [x, y]) # TODO: fix 2. dummy argument
return math.atan2(x, y)