Skip to content

Commit

Permalink
add missing sort! call
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Jan 2, 2024
1 parent fdba9ba commit 040b150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/optimization_container.jl
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ function _make_system_expressions!(
ExpressionKey(ActivePowerBalance, PSY.DCBus) =>
_make_container_array(dc_bus_numbers, time_steps),
ExpressionKey(ActivePowerBalance, PSY.ACBus) =>
_make_container_array(ac_bus_numbers, time_steps),
_make_container_array(sort!(ac_bus_numbers), time_steps),
)
return
end
Expand Down

0 comments on commit 040b150

Please sign in to comment.