From: bangerth Date: Fri, 11 Aug 2006 18:03:47 +0000 (+0000) Subject: Exclude highest polynomial if there is an order difference X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72624e7661e409c8cc83baf11d1d91c011aa4597;p=dealii-svn.git Exclude highest polynomial if there is an order difference git-svn-id: https://svn.dealii.org/trunk@13677 0785d39b-7218-0410-832d-ea1e28bc413d --- 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,