Skip to content

Commit

Permalink
o Fix conn when orig_fv is None (#896)
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeeja committed Aug 16, 2024
1 parent 42488f2 commit 1c07b70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uxarray/io/_topology.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def _process_connectivity(conn, orig_fv, start_index):

if orig_fv is None:
# no fill values, adjust start index
return conn - 1
return conn - start_index

if orig_fv != INT_FILL_VALUE:
conn = _replace_fill_values(conn, orig_fv, INT_FILL_VALUE, INT_DTYPE)
Expand Down

0 comments on commit 1c07b70

Please sign in to comment.