Skip to content

Commit

Permalink
Minor drive-by fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cbourjau committed Sep 26, 2024
1 parent def1e52 commit 10b48cc
Show file tree
Hide file tree
Showing 3 changed files with 5,405 additions and 4,647 deletions.
2 changes: 1 addition & 1 deletion ndonnx/_corearray.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def _normalise_index(
indexing_expressions = len(tuple(idx for idx in index if idx is not None))
if self.ndim != indexing_expressions:
raise IndexError(
f"Index has {indexing_expressions} expressions but Array has rank {self.ndim}"
f"Index has `{indexing_expressions}` expressions but Array has rank `{self.ndim}`"
)
return index

Expand Down
Loading

0 comments on commit 10b48cc

Please sign in to comment.