diff --git a/src/elasticity_problem.cpp b/src/elasticity_problem.cpp index b9059e2..de32001 100644 --- a/src/elasticity_problem.cpp +++ b/src/elasticity_problem.cpp @@ -50,9 +50,9 @@ MatNullSpace build_near_nullspace(const fem::FunctionSpace& V) } // Rotations - auto x3 = basis[3].array(); - auto x4 = basis[4].array(); - auto x5 = basis[5].array(); + std::vector& x3 = basis[3].array(); + std::vector& x4 = basis[4].array(); + std::vector& x5 = basis[5].array(); const std::vector x = V.tabulate_dof_coordinates(false); const std::int32_t* dofs = V.dofmap()->map().data_handle();