Skip to content

Commit

Permalink
fix: change typo in JuMP expression
Browse files Browse the repository at this point in the history
  • Loading branch information
lanesmith committed May 1, 2021
1 parent 4af8797 commit 946dafe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ function _build_model(
bus_demand[sets.load_bus_idx[i], j]
)
if demand_flexibility.enabled
demand_for_load_shed = JuMP.@expressions(
demand_for_load_shed = JuMP.@expression(
m,
[i=1:sets.num_load_bus, j=1:interval_length],
demand_for_load_shed[i, j] + load_shift_up[i, j] - load_shift_dn[i, j]
Expand Down

0 comments on commit 946dafe

Please sign in to comment.