Skip to content

Commit

Permalink
Update core/src/allocation.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Martijn Visser <[email protected]>
  • Loading branch information
SouthEndMusic and visr authored Feb 13, 2024
1 parent abc02c7 commit fea9399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/allocation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ function allocate!(
@debug JuMP.solution_summary(problem)
if JuMP.termination_status(problem) !== JuMP.OPTIMAL
(; allocation_network_id) = allocation_model
priority = priorities[priority_index]
priority = priorities[priority_idx]
error(
"Allocation of subnetwork $allocation_network_id, priority $priority coudn't find optimal solution.",
)
Expand Down

0 comments on commit fea9399

Please sign in to comment.