Skip to content

Commit

Permalink
Undo allocation_init.jl change
Browse files Browse the repository at this point in the history
  • Loading branch information
SouthEndMusic committed Apr 24, 2024
1 parent 0264920 commit 3097fdc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/allocation_init.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ function find_subnetwork_connections!(p::Parameters)::Nothing
# destination node subnetwork id ≠1
for node_id in graph[].node_ids[1]
for outflow_id in outflow_ids(graph, node_id)
if (graph[outflow_id].subnetwork_id != 1) ||
(graph[node_id, outflow_id].subnetwork_id_source == 1)
if (graph[outflow_id].subnetwork_id != 1)
main_network_source_edges =
get_main_network_connections(p, graph[outflow_id].subnetwork_id)
edge = (node_id, outflow_id)
Expand Down

0 comments on commit 3097fdc

Please sign in to comment.