From: kronbichler Date: Mon, 10 Feb 2014 21:38:36 +0000 (+0000) Subject: Fix bug in support_on_face X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83534fa7a916af1336a798bd0d17a1b441ce2218;p=dealii-svn.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: