Skip to content

Commit 1fb0189

Browse files
Removing numpy import from Setcoords kernel
Following on from #2248 (comment), this PR also removes the import statement from the `Setcoords` Kernel that gets prepended to all user kernels.
1 parent ce74485 commit 1fb0189

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/parcels/_core/kernel.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ def remove_deleted(self, pset):
116116
def add_positionupdate_kernels(self):
117117
# Adding kernels that set and update the coordinate changes
118118
def Setcoords(particles, fieldset): # pragma: no cover
119-
import numpy as np # noqa
120-
121119
particles.lon += particles.dlon
122120
particles.lat += particles.dlat
123121
particles.z += particles.dz

0 commit comments

Comments
 (0)