From 81abb8d02fe69366670a7b5a294045d95f7c1ff4 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 11 Aug 2006 18:03:47 +0000 Subject: [PATCH] Exclude highest polynomial if there is an order difference git-svn-id: https://svn.dealii.org/trunk@13677 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/deal.II/project_common.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/deal.II/project_common.cc b/tests/deal.II/project_common.cc index a817111468..2b01bfac80 100644 --- a/tests/deal.II/project_common.cc +++ b/tests/deal.II/project_common.cc @@ -117,7 +117,7 @@ void test_no_hanging_nodes (const FiniteElement &fe, Vector projection (dof_handler.n_dofs()); Vector error (triangulation.n_active_cells()); - for (unsigned int q=0; q<=p+2; ++q) + for (unsigned int q=0; q<=p+2-order_difference; ++q) { // project the function VectorTools::project (dof_handler, -- 2.39.5