Commit 3ca059f
committed
refactor: align
Wrapped the dim-check `TypeError` in `format(...)` to match the dominant
error-construction pattern in the file (other throws already use
`format()`, including a static-string `Error` on line 113) and across
the `ndarray/iter` namespace, where sibling packages with analogous
dim-checks (`subarrays`, `stacks`, `interleave-subarrays`) wrap the
throw in `format()`. Message text is preserved exactly.ndarray/iter/rows with namespace error-construction conventions1 parent 320f969 commit 3ca059f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
0 commit comments