From: D Schneider Date: Fri, 12 Jun 2020 22:11:09 +0000 (+0200) Subject: Enable non-default VectorizedArrayType in read_cell_data() X-Git-Tag: v9.3.0-rc1~1433^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c059d559e7334a1719068e6c08d5bf1e6bfc583;p=dealii.git Enable non-default VectorizedArrayType in read_cell_data() --- diff --git a/include/deal.II/matrix_free/fe_evaluation.h b/include/deal.II/matrix_free/fe_evaluation.h index 5edd32d3f4..8379764156 100644 --- a/include/deal.II/matrix_free/fe_evaluation.h +++ b/include/deal.II/matrix_free/fe_evaluation.h @@ -3839,7 +3839,8 @@ FEEvaluationBase:: const auto cells = this->get_cell_ids(); // 2) actually gather values - VectorizedArrayType out = make_vectorized_array(Number(1.)); + VectorizedArrayType out = + make_vectorized_array(Number(1.)); for (unsigned int i = 0; i < VectorizedArrayType::size(); ++i) if (cells[i] != numbers::invalid_unsigned_int) out[i] = array[cells[i] / VectorizedArrayType::size()]