From: bangerth Date: Fri, 1 Aug 2008 02:54:23 +0000 (+0000) Subject: Add parentheses around condition as suggested by recent gcc versions. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ba042de3eba2d66f10e348d0716ea55a1ac7e2f;p=dealii-svn.git Add parentheses around condition as suggested by recent gcc versions. git-svn-id: https://svn.dealii.org/trunk@16479 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/dofs/dof_tools.cc b/deal.II/deal.II/source/dofs/dof_tools.cc index 0cfb89c377..ffb981acd2 100644 --- a/deal.II/deal.II/source/dofs/dof_tools.cc +++ b/deal.II/deal.II/source/dofs/dof_tools.cc @@ -1966,12 +1966,12 @@ namespace internal // assumptions //TODO[TL]: think about this in case of anisotropic refinement Assert (dof_handler.get_tria().get_anisotropic_refinement_flag() || - (this_face->child(0)->vertex_index(3) == - this_face->child(1)->vertex_index(2)) && - (this_face->child(0)->vertex_index(3) == - this_face->child(2)->vertex_index(1)) && - (this_face->child(0)->vertex_index(3) == - this_face->child(3)->vertex_index(0)), + ((this_face->child(0)->vertex_index(3) == + this_face->child(1)->vertex_index(2)) && + (this_face->child(0)->vertex_index(3) == + this_face->child(2)->vertex_index(1)) && + (this_face->child(0)->vertex_index(3) == + this_face->child(3)->vertex_index(0))), ExcInternalError()); for (unsigned int dof=0; dof!=fe.dofs_per_vertex; ++dof) dofs_on_children[next_index++]