Skip to content

Commit

Permalink
samll edits
Browse files Browse the repository at this point in the history
  • Loading branch information
nfarabullini committed Nov 28, 2024
1 parent b4d812d commit b7a2088
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/src/icon4pytools/py2fgen/wrappers/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ def construct_decomposition(
e_glb_index = adjust_fortran_indices(e_glb_index, offset)
v_glb_index = adjust_fortran_indices(v_glb_index, offset)

c_owner_mask = c_owner_mask[:num_cells] if c_owner_mask is not None else c_owner_mask
e_owner_mask = e_owner_mask[:num_edges] if e_owner_mask is not None else e_owner_mask
v_owner_mask = v_owner_mask[:num_vertices] if v_owner_mask is not None else v_owner_mask
c_owner_mask = c_owner_mask[:num_cells]
e_owner_mask = e_owner_mask[:num_edges]
v_owner_mask = v_owner_mask[:num_vertices]

decomposition_info = (
definitions.DecompositionInfo(
Expand Down

0 comments on commit b7a2088

Please sign in to comment.