Skip to content

Commit 7cdb63f

Browse files
author
Arnau Miro
committed
Fix example
1 parent 0621198 commit 7cdb63f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: Examples/example_dataset.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,8 @@
6161
'var2' : {'idim':1,'value':var2},
6262
},
6363
# Now we add the fields, i.e., the actual data to compute
64-
# things. So K has ndim = 2 as there are two extra dimensions
65-
# other than the number of points
66-
K = {'ndim':2,'value':K}
64+
# things. So K has ndim = 1 as there is only one field
65+
K = {'ndim':1,'value':K}
6766
)
6867
print(d)
6968

0 commit comments

Comments
 (0)