Skip to content

Commit

Permalink
Polish math-tools overloads
Browse files Browse the repository at this point in the history
  • Loading branch information
NeilGirdhar committed Sep 23, 2024
1 parent 09ad5b3 commit b8b61f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tjax/_src/math_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def divide_nonnegative(dividend: RealArray, divisor: RealArray) -> RealArray:
whenever the divisor equals zero.
"""
xp = get_namespace(dividend, divisor)
return divide_where(dividend, divisor, where=divisor > 0.0, # pyright: ignore
return divide_where(dividend, divisor, where=divisor > 0.0, # type: ignore # pyright: ignore
otherwise=xp.asarray(xp.inf))


Expand Down

0 comments on commit b8b61f5

Please sign in to comment.