Skip to content

Commit

Permalink
fix(MultiList): increment index per layer in build_list
Browse files Browse the repository at this point in the history
  • Loading branch information
martclanor committed Sep 14, 2024
1 parent a0e9219 commit 0d96579
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion flopy/utils/datautil.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,9 @@ def build_list(self, callback):
(entry_point[0][-1], new_location)
)
else:
entry_point[0].append(callback(entry_point[1]))
entry_point[0].append(
callback(tuple(i + val for i in entry_point[1]))
)
entry_points = new_entry_points

def first_item(self):
Expand Down

0 comments on commit 0d96579

Please sign in to comment.