From: Wolfgang Bangerth Date: Tue, 12 Dec 2023 07:07:08 +0000 (-0700) Subject: Do not query direction flags for Triangulation<1,3> objects. X-Git-Tag: relicensing~253^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16344%2Fhead;p=dealii.git Do not query direction flags for Triangulation<1,3> objects. --- diff --git a/source/fe/fe_values_base.cc b/source/fe/fe_values_base.cc index 1976ced627..5ef400f6c3 100644 --- a/source/fe/fe_values_base.cc +++ b/source/fe/fe_values_base.cc @@ -1440,7 +1440,7 @@ FEValuesBase::check_cell_similarity( CellSimilarity::translation : CellSimilarity::none); - if ((dim < spacedim) && (cell_similarity == CellSimilarity::translation)) + if ((dim == spacedim - 1) && (cell_similarity == CellSimilarity::translation)) { if (static_cast::cell_iterator &>(this->present_cell)