Skip to content

Commit

Permalink
Update management.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
a-zakir authored Jun 21, 2024
1 parent 091d701 commit 2e71488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solver/hydro/management/management.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ void HydroManagement::prepareEffectiveDemand(
HydroSpecificMap& hydro_specific_map)
{
areas_.each(
[this, &year](Data::Area& area)
[this, &year, &hydro_specific_map](Data::Area& area)
{
auto& data = area.hydro.managementData[year];
auto& hydro_specific = hydro_specific_map[&area];
Expand Down

0 comments on commit 2e71488

Please sign in to comment.