Skip to content

Commit 5203e6c

Browse files
committed
error message typo
1 parent 4886011 commit 5203e6c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

parcels/field.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def __init__(
155155
if not isinstance(name, str):
156156
raise ValueError(f"Expected `name` to be a string, got {type(name)}.")
157157
if not isinstance(grid, (UxGrid, XGrid)):
158-
raise ValueError(f"Expected `grid` to be a parcels UxGrid, or parcels Grid object, got {type(grid)}.")
158+
raise ValueError(f"Expected `grid` to be a parcels UxGrid, or parcels XGrid object, got {type(grid)}.")
159159

160160
assert_valid_mesh(mesh_type)
161161

0 commit comments

Comments
 (0)