Skip to content

Commit bb9a0c0

Browse files
Update calculation of ngrid
Co-authored-by: Erik van Sebille <e.vansebille@uu.nl>
1 parent 399ae10 commit bb9a0c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

parcels/particleset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def __init__(
153153
time=time,
154154
lonlatdepth_dtype=lonlatdepth_dtype,
155155
pid_orig=pid_orig,
156-
ngrid=fieldset.gridset_size,
156+
ngrid=len(fieldset.gridset),
157157
**kwargs,
158158
)
159159

0 commit comments

Comments
 (0)