Skip to content

Commit 7e6a026

Browse files
committed
Remove no longer comment about the keepdims argument to argmin
1 parent ee852b4 commit 7e6a026

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

numpy/array_api/_searching_functions.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ def argmax(x: Array, /, *, axis: Optional[int] = None, keepdims: bool = False) -
1313
1414
See its docstring for more information.
1515
"""
16-
# Note: this currently fails as np.argmax does not implement keepdims
1716
return Array._new(np.asarray(np.argmax(x._array, axis=axis, keepdims=keepdims)))
1817

1918
def argmin(x: Array, /, *, axis: Optional[int] = None, keepdims: bool = False) -> Array:
@@ -22,7 +21,6 @@ def argmin(x: Array, /, *, axis: Optional[int] = None, keepdims: bool = False) -
2221
2322
See its docstring for more information.
2423
"""
25-
# Note: this currently fails as np.argmin does not implement keepdims
2624
return Array._new(np.asarray(np.argmin(x._array, axis=axis, keepdims=keepdims)))
2725

2826
def nonzero(x: Array, /) -> Tuple[Array, ...]:

0 commit comments

Comments
 (0)