Skip to content

Commit

Permalink
#334 fix branchorder writing to net file
Browse files Browse the repository at this point in the history
  • Loading branch information
xldeltares committed Sep 2, 2022
1 parent 901c6b4 commit d0cead9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydrolib/core/io/net/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ def _add_branch(
self.branches[name] = branch

# Add branch administration
self.network1d_branch_order = np.append(self.network1d_branch_order, -1)
self.network1d_branch_order = np.append(self.network1d_branch_order, branch_order)
self.network1d_branch_length = np.append(
self.network1d_branch_length, branch.length
)
Expand Down

0 comments on commit d0cead9

Please sign in to comment.