diff --git a/source/simulator/stokes_matrix_free.cc b/source/simulator/stokes_matrix_free.cc index 346e1394fbd..b84651e477b 100644 --- a/source/simulator/stokes_matrix_free.cc +++ b/source/simulator/stokes_matrix_free.cc @@ -410,8 +410,8 @@ namespace aspect // Store the symmetric gradients of the velocity field and the // values of the pressure field - std::vector>> sym_grad_u; - std::vector> val_p; + AlignedVector>> sym_grad_u; + AlignedVector> val_p; if (cell_data->enable_newton_derivatives) { sym_grad_u.resize(u_eval.n_q_points);