Commit 7f785883 authored by Boyan Meng's avatar Boyan Meng
Browse files

fix error in the use of eigen::map

parent f0027f36
......@@ -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 =
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment