From: Martin Kronbichler Date: Sat, 28 Apr 2018 15:24:07 +0000 (+0200) Subject: Fix wrong assertion in case no SIMD is applied. X-Git-Tag: v9.0.0-rc1~75^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9536d6b2ace151d3a6c30c3e6e9702fb287925be;p=dealii.git Fix wrong assertion in case no SIMD is applied. --- diff --git a/include/deal.II/matrix_free/dof_info.templates.h b/include/deal.II/matrix_free/dof_info.templates.h index 997b0a5c19..57e598d3af 100644 --- a/include/deal.II/matrix_free/dof_info.templates.h +++ b/include/deal.II/matrix_free/dof_info.templates.h @@ -610,7 +610,8 @@ no_constraint: const bool have_hp = dofs_per_cell.size() > 1; const unsigned int n_components = start_components.back(); - Assert(row_starts.size() % vectorization_length == 1, ExcInternalError()); + Assert(vectorization_length == 1 || + row_starts.size() % vectorization_length == 1, ExcInternalError()); if (vectorization_length > 1) AssertDimension(row_starts.size()/vectorization_length/n_components, irregular_cells.size());