Skip to content

Commit 1a053c9

Browse files
committed
Fix definition of abs, max, min, and round
1 parent 3c224a5 commit 1a053c9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

numpy_array_api_compat/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020

2121
from numpy import *
2222

23+
# from numpy import * doesn't overwrite these builtin names
24+
from numpy import abs, max, min, round
25+
2326
# These imports may overwrite names from the import * above.
2427
from ._aliases import *
2528

0 commit comments

Comments
 (0)