From 83534fa7a916af1336a798bd0d17a1b441ce2218 Mon Sep 17 00:00:00 2001 From: kronbichler Date: Mon, 10 Feb 2014 21:38:36 +0000 Subject: [PATCH] Fix bug in support_on_face git-svn-id: https://svn.dealii.org/trunk@32451 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/fe/fe_dgq.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.5