From: Peter Munch Date: Wed, 15 Mar 2023 13:29:30 +0000 (+0100) Subject: Use VectorizedArrayTrait X-Git-Tag: v9.5.0-rc1~477^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14892%2Fhead;p=dealii.git Use VectorizedArrayTrait --- diff --git a/include/deal.II/matrix_free/fe_evaluation_data.h b/include/deal.II/matrix_free/fe_evaluation_data.h index 639f1e743e..6d95401c63 100644 --- a/include/deal.II/matrix_free/fe_evaluation_data.h +++ b/include/deal.II/matrix_free/fe_evaluation_data.h @@ -126,7 +126,8 @@ public: using ScalarNumber = typename internal::VectorizedArrayTrait::value_type; - static constexpr unsigned int n_lanes = sizeof(Number) / sizeof(ScalarNumber); + static constexpr unsigned int n_lanes = + internal::VectorizedArrayTrait::width; /** * Constructor, taking a single ShapeInfo object to inject the capability