Skip to content

Commit feb7404

Browse files
committed
numpy type casting
1 parent 0d90894 commit feb7404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cf/regrid/regrid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2186,7 +2186,7 @@ def create_esmpy_mesh(grid, mask=None):
21862186
# esmpy.
21872187
min_id = node_ids.min()
21882188
if min_id < 1:
2189-
node_ids += min_id + 1
2189+
node_ids = node_ids + min_id + 1
21902190

21912191
# Add nodes. This must be done before `add_elements`.
21922192
esmpy_mesh.add_nodes(

0 commit comments

Comments
 (0)