Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
a-zakir committed Jun 11, 2024
1 parent fc1a7ac commit 6d4c56e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/solver/hydro/management/daily.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ struct DebugData
const ReservoirLevelType& lowLevel;
const double reservoirCapacity;

const Antares::Data::HydroSpecific& hydro_specific
const Antares::Data::HydroSpecific& hydro_specific;

DebugData(Solver::IResultWriter& writer,
const Antares::Data::HydroManagementData& data,
Expand Down
2 changes: 1 addition & 1 deletion src/solver/hydro/management/management.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ void HydroManagement::prepareNetDemand(uint year,
Antares::Data::HydroSpecific& hydro_specific)
{
areas_.each(
[this, &year, &scratchmap, &mode](Data::Area& area)
[this, &year, &scratchmap, &mode, &hydro_specific](Data::Area& area)
{
const auto& scratchpad = scratchmap.at(&area);

Expand Down

0 comments on commit 6d4c56e

Please sign in to comment.