From: Martin Kronbichler Date: Mon, 10 Feb 2014 21:38:36 +0000 (+0000) Subject: Fix bug in support_on_face X-Git-Tag: v8.2.0-rc1~854 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc678f08a41e6f8b932bec5af4732ae0cc453d59;p=dealii.git Fix bug in support_on_face git-svn-id: https://svn.dealii.org/trunk@32451 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/fe/fe_dgq.cc b/deal.II/source/fe/fe_dgq.cc index c3a5c523d5..a61562b881 100644 --- a/deal.II/source/fe/fe_dgq.cc +++ b/deal.II/source/fe/fe_dgq.cc @@ -622,7 +622,7 @@ FE_DGQ::has_support_on_face (const unsigned int shape_index, // (==face 0 in some sense), the // second on face 1: return (((shape_index == 0) && (face_index == 0)) || - ((shape_index == 1) && (face_index == 1))); + ((shape_index == this->degree) && (face_index == 1))); }; case 2: