Skip to content

Commit 17740f9

Browse files
committed
Fix label_tensor.py doc (#543)
1 parent 27be3cf commit 17740f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pina/label_tensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def __init__(self, x, labels):
5858
>>> from pina import LabelTensor
5959
>>> tensor = LabelTensor(
6060
>>> torch.rand((2000, 3)),
61-
... {1: {"name": "space", "dof": ['a', 'b', 'c'])
61+
... {1: {"name": "space", "dof": ['a', 'b', 'c']}})
6262
>>> tensor = LabelTensor(
6363
>>> torch.rand((2000, 3)),
6464
... ["a", "b", "c"])

0 commit comments

Comments
 (0)