From e33fb25a344b5bbb325228254718c5ba1ee26449 Mon Sep 17 00:00:00 2001 From: Boyan Meng <meng.boyan@ufz.de> Date: Fri, 15 Nov 2019 18:08:12 +0100 Subject: [PATCH] fix error in the use of eigen::map --- .../LocalAssemblers/HeatTransportBHELocalAssemblerSoil-impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProcessLib/HeatTransportBHE/LocalAssemblers/HeatTransportBHELocalAssemblerSoil-impl.h b/ProcessLib/HeatTransportBHE/LocalAssemblers/HeatTransportBHELocalAssemblerSoil-impl.h index fdce2003e63..fd4dbd8bb5f 100644 --- a/ProcessLib/HeatTransportBHE/LocalAssemblers/HeatTransportBHELocalAssemblerSoil-impl.h +++ b/ProcessLib/HeatTransportBHE/LocalAssemblers/HeatTransportBHELocalAssemblerSoil-impl.h @@ -139,7 +139,7 @@ void HeatTransportBHELocalAssemblerSoil<ShapeFunction, IntegrationMethod>:: .property(MaterialPropertyLib::PropertyType::phase_velocity) .value(vars, pos, t); auto const velocity = Eigen::Map<Eigen::Vector3d const>( - std::get<MaterialPropertyLib::Vector>(velocity_arr).data(), 1, 3); + std::get<MaterialPropertyLib::Vector>(velocity_arr).data()); // calculate the hydrodynamic thermodispersion tensor auto const thermal_conductivity = -- GitLab