Skip to content

Commit 966ae70

Browse files
committed
fix jax
1 parent 00a6a7a commit 966ae70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_compat/jax/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def top_k(
2525
raise ValueError(f'k(={k}) provided must be positive.')
2626

2727
positive_axis: int
28-
_arr = asarray(a)
28+
_arr = asarray(x)
2929
if axis is None:
3030
arr = _arr.ravel()
3131
positive_axis = 0

0 commit comments

Comments
 (0)