You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, `setitem` was only checking for numpy arrays, which was
causing errors on a GPU when a cupy array was passed in. This fix makes
it more flexible, so now lists can also be used for example.
Also, when using GPU, the input value must be converted to a cupy array
before the copy can be done.
A minor cleanup of `_get_field` is also done, simplifying the code.
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
0 commit comments