Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrakenhoff committed Nov 2, 2023
1 parent 6bbb0f7 commit 86ba275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nlmod/dims/resample.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def vertex_da_to_ds(da, ds, method="nearest"):
# when there are more dimensions than icell2d
z = []
if method == "nearest":
# geneterate the tree only once, to increase speed
# generate the tree only once, to increase speed
tree = cKDTree(points)
_, i = tree.query(xi)
dims = np.array(da.dims)
Expand Down

0 comments on commit 86ba275

Please sign in to comment.