diff --git a/ProcessLib/RichardsComponentTransport/RichardsComponentTransportFEM-impl.h b/ProcessLib/RichardsComponentTransport/RichardsComponentTransportFEM-impl.h index cb2aa7d26f5a7a7fe2bdf701ab852cb0b7f8223a..c2201fc0402e1e2608cc5b4673e920903dca86b4 100644 --- a/ProcessLib/RichardsComponentTransport/RichardsComponentTransportFEM-impl.h +++ b/ProcessLib/RichardsComponentTransport/RichardsComponentTransportFEM-impl.h @@ -350,7 +350,8 @@ LocalAssemblerData<ShapeFunction, IntegrationMethod, GlobalDim>:: auto const local_x = x[process_id]->get(indices); cache.clear(); - auto cache_vec = MathLib::createZeroedVector<LocalVectorType>( + auto cache_vec = MathLib::createZeroedVector< + Eigen::Matrix<double, 1, Eigen::Dynamic, Eigen::RowMajor>>( cache, n_integration_points); for (unsigned ip = 0; ip < n_integration_points; ++ip)