Skip to content

Commit

Permalink
Add back vectorized support, fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiannucci committed Sep 5, 2024
1 parent 6f3b6b4 commit a511d43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/gribberish/gribberish_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ def __init__(
self.vindex = self

def __getitem__(
self, key: xr.core.indexing.ExplicitIndexer | xr.core.indexing.OuterIndexer
self, key: xr.core.indexing.ExplicitIndexer
) -> np.typing.ArrayLike:
return indexing.explicit_indexing_adapter(
key,
self.shape,
indexing.IndexingSupport.OUTER,
indexing.IndexingSupport.OUTER_1VECTOR,
self._raw_indexing_method,
)

Expand Down

0 comments on commit a511d43

Please sign in to comment.