Skip to content

Commit d466ccd

Browse files
committed
Fix typing
1 parent 93a364b commit d466ccd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/parcels/_core/mesh.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def __init__(self, radius: float = EARTH_RADIUS):
3030
@property
3131
def deg2m(self) -> float:
3232
"""Meters per degree of arc."""
33+
assert self.radius is not None
3334
return self.radius * np.pi / 180.0
3435

3536
def is_spherical(self):

0 commit comments

Comments
 (0)