Skip to content

Commit

Permalink
fix: Remove duplicate-keys in `ivy\functional\backends\numpy\__init__…
Browse files Browse the repository at this point in the history
….py` (#26785)
  • Loading branch information
Sai-Suraj-27 authored Oct 8, 2023
1 parent 1be0f8c commit c2b2180
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ivy/functional/backends/numpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,8 @@ def rep_method(self, ufunc, method, *inputs, **kwargs):
"bitwise_and": "bitwise_and",
"matmul": "matmul",
"power": "pow",
"divide": "divide",
"subtract": "subtract",
"add": "add",
"not_equal": "not_equal",
}
if ufunc.__name__ in methods.keys():
return eval("ivy." + methods[ufunc.__name__] + "(*inputs, **kwargs)")
Expand Down

0 comments on commit c2b2180

Please sign in to comment.