]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make that annoying warning go away!
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 4 Mar 1999 12:25:30 +0000 (12:25 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 4 Mar 1999 12:25:30 +0000 (12:25 +0000)
git-svn-id: https://svn.dealii.org/trunk@945 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_system.cc

index 5aa717b8e4ca4216dca5b8dbb95850237cd47ffc..3bd2efb2042774288e2d6db1df71cf18b0ab11af 100644 (file)
@@ -60,7 +60,7 @@ void FESystem<dim>::initialize ()
     }
   
                                   // 2. Lines
-  for (unsigned line_number= 0 ; ((line_number < GeometryInfo<dim>::lines_per_cell) &&
+  for (unsigned line_number= 0 ; ((line_number != GeometryInfo<dim>::lines_per_cell) &&
                                  (GeometryInfo<dim>::lines_per_cell > 0));
        ++line_number)
     {
@@ -86,7 +86,7 @@ void FESystem<dim>::initialize ()
     }
   
                                   // 3. Quads
-  for (unsigned quad_number= 0 ; ((quad_number < GeometryInfo<dim>::quads_per_cell) &&
+  for (unsigned quad_number= 0 ; ((quad_number != GeometryInfo<dim>::quads_per_cell) &&
                                  (GeometryInfo<dim>::quads_per_cell > 0));
        ++quad_number)
     {
@@ -112,7 +112,7 @@ void FESystem<dim>::initialize ()
     }
   
                                   // 4. Hex
-  for (unsigned hex_number= 0 ; ((hex_number < GeometryInfo<dim>::hexes_per_cell) &&
+  for (unsigned hex_number= 0 ; ((hex_number != GeometryInfo<dim>::hexes_per_cell) &&
                                 (GeometryInfo<dim>::hexes_per_cell > 0));
        ++hex_number)
     {

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.