]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add parentheses around condition as suggested by recent gcc versions.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Aug 2008 02:54:23 +0000 (02:54 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Aug 2008 02:54:23 +0000 (02:54 +0000)
git-svn-id: https://svn.dealii.org/trunk@16479 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/dofs/dof_tools.cc

index 0cfb89c377ca41096885878bb79833fbc8cc4001..ffb981acd2d692036962468a9875bbdc30446ffe 100644 (file)
@@ -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++]

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.