Skip to content

Commit

Permalink
Fix math node (#2873)
Browse files Browse the repository at this point in the history
fix math node
  • Loading branch information
joeyballentine authored May 18, 2024
1 parent e01f8bc commit 87b6b2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def nonZero(x: number): number {
.as_passthrough_of(0)
],
)
def math_node(a: float, op: MathOperation, b: float) -> int | float:
def math_node(op: MathOperation, a: float, b: float) -> int | float:
if op == MathOperation.ADD:
return a + b
elif op == MathOperation.SUBTRACT:
Expand Down

0 comments on commit 87b6b2f

Please sign in to comment.