From 68af0071714b7be6abf95c880c959e9fa76304eb Mon Sep 17 00:00:00 2001 From: "Dmitry Yu. Naumov" <github@naumov.de> Date: Tue, 20 Nov 2018 16:57:01 +0100 Subject: [PATCH] [PL] HTBHE; Fix warning in array initialization. --- ProcessLib/HeatTransportBHE/BHE/BHE_1U.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProcessLib/HeatTransportBHE/BHE/BHE_1U.cpp b/ProcessLib/HeatTransportBHE/BHE/BHE_1U.cpp index 76603585b82..57bfd1c7a0f 100644 --- a/ProcessLib/HeatTransportBHE/BHE/BHE_1U.cpp +++ b/ProcessLib/HeatTransportBHE/BHE/BHE_1U.cpp @@ -231,7 +231,7 @@ std::array<double, BHE_1U::number_of_unknowns> BHE_1U::calcThermalResistances( double R_gg, R_gs; std::tie(R_gg, R_gs) = thermalResistancesGroutSoil(chi, R_ar, R_g); - return {R_fig, R_fog, R_gg, R_gs}; + return {{R_fig, R_fog, R_gg, R_gs}}; // keep the following lines------------------------------------------------ // when debugging the code, printing the R and phi values are needed-------- -- GitLab