From 2e71488d94909ad49a3d171288d7b226cc049d04 Mon Sep 17 00:00:00 2001 From: Abdoulbari Zaher <32519851+a-zakir@users.noreply.github.com> Date: Fri, 21 Jun 2024 21:48:02 +0200 Subject: [PATCH] Update management.cpp --- src/solver/hydro/management/management.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/solver/hydro/management/management.cpp b/src/solver/hydro/management/management.cpp index 6dcc8b1f44..9a86343b80 100644 --- a/src/solver/hydro/management/management.cpp +++ b/src/solver/hydro/management/management.cpp @@ -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];