Skip to content

Commit 7b44c12

Browse files
committed
Use raises-exception tag.
1 parent 26c05f0 commit 7b44c12

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

content/tutorial-svd.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,10 @@ U.shape, s.shape, Vt.shape
221221
```
222222

223223
Note that `s` has a particular shape: it has only one dimension. This means that some linear algebra functions that expect 2d arrays might not work. For example, from the theory, one might expect `s` and `Vt` to be
224-
compatible for multiplication. However, this is not true as `s` does not have a second axis. Executing
224+
compatible for multiplication. However, this is not true as `s` does not have a second axis:
225225

226-
```python
226+
```{code-cell}
227+
:tags: [raises-exception]
227228
s @ Vt
228229
```
229230

0 commit comments

Comments
 (0)