Skip to content

Commit

Permalink
Fix "add results to xugrid" (#1374)
Browse files Browse the repository at this point in the history
Small bug I didn't notice in #1369 because the basic example has the
same number of nodes and edges.
  • Loading branch information
visr authored Apr 11, 2024
1 parent ff3a5d4 commit 78e08c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ribasim/ribasim/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ def _add_results(self, uds):
# from node_id to the node_dim index
node_lookup = pd.Series(
index=uds["node_id"],
data=uds[edge_dim],
data=uds[node_dim],
name="node_index",
)
# from edge_id to the edge_dim index
Expand Down

0 comments on commit 78e08c9

Please sign in to comment.