Skip to content

Commit 4a2df86

Browse files
dario-cosciaGiovanniCanali
authored andcommitted
Fix label_tensor.py doc (mathLab#543)
1 parent 11e896e commit 4a2df86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)