Skip to content

Commit

Permalink
Fix alignment problem for VectorizedArray
Browse files Browse the repository at this point in the history
  • Loading branch information
gassmoeller committed May 17, 2024
1 parent 5bf26b0 commit 8d90584
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/simulator/stokes_matrix_free.cc
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,8 @@ namespace aspect

// Store the symmetric gradients of the velocity field and the
// values of the pressure field
std::vector<SymmetricTensor<2,dim,VectorizedArray<number>>> sym_grad_u;
std::vector<VectorizedArray<number>> val_p;
AlignedVector<SymmetricTensor<2,dim,VectorizedArray<number>>> sym_grad_u;
AlignedVector<VectorizedArray<number>> val_p;
if (cell_data->enable_newton_derivatives)
{
sym_grad_u.resize(u_eval.n_q_points);
Expand Down

0 comments on commit 8d90584

Please sign in to comment.