From 72624e7661e409c8cc83baf11d1d91c011aa4597 Mon Sep 17 00:00:00 2001 From: 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