Skip to content

Commit 0568043

Browse files
crusaderkyjakevdp
andauthored
Update array_api_compat/common/_helpers.py
Co-authored-by: Jake Vanderplas <jakevdp@gmail.com>
1 parent 5817176 commit 0568043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_compat/common/_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ class at:
856856
857857
If x is a JAX array, they are the same as::
858858
859-
x = x.at[1].add(x)
859+
x = x.at[1].add(2)
860860
861861
If x is a read-only numpy array, they are the same as::
862862

0 commit comments

Comments
 (0)