From f22b5672390d17d62f009d37f00a64d7c9373842 Mon Sep 17 00:00:00 2001 From: crusaderky Date: Thu, 28 Nov 2024 12:31:16 +0000 Subject: [PATCH] nit --- array_api_compat/common/_helpers.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/array_api_compat/common/_helpers.py b/array_api_compat/common/_helpers.py index 3b37594b..4de86232 100644 --- a/array_api_compat/common/_helpers.py +++ b/array_api_compat/common/_helpers.py @@ -886,8 +886,12 @@ class at: Caveat ------ - The behaviour of methods other than `get()` when the index is an array of - integers which contains multiple occurrences of the same index is undefined. + Sparse does not support update methods yet. + + Caveat + ------ + The behaviour of update methods when the index is an array of integers which + contains multiple occurrences of the same index is undefined. **Undefined behaviour:** ``at(x, [0, 0]).set(2)``