]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix a couple of assertions.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 30 Sep 2013 22:40:01 +0000 (22:40 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 30 Sep 2013 22:40:01 +0000 (22:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@31047 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/hp/dof_faces.h

index a5bce7eedc871c99436b84c0d68a64677cf00c2f..3aa6f9c4d5ea296f5d25257170165d447463367a 100644 (file)
@@ -383,7 +383,7 @@ namespace internal
       // make sure we are on an
       // object for which DoFs have
       // been allocated at all
-      Assert (dof_offsets[obj_index] != numbers::invalid_dof_index,
+      Assert (dof_offsets[obj_index] != numbers::invalid_unsigned_int,
               ExcMessage ("You are trying to access degree of freedom "
                           "information for an object on which no such "
                           "information is available"));
@@ -445,7 +445,7 @@ namespace internal
       // make sure we are on an
       // object for which DoFs have
       // been allocated at all
-      Assert (dof_offsets[obj_index] != numbers::invalid_dof_index,
+      Assert (dof_offsets[obj_index] != numbers::invalid_unsigned_int,
               ExcMessage ("You are trying to access degree of freedom "
                           "information for an object on which no such "
                           "information is available"));
@@ -545,7 +545,7 @@ namespace internal
       // make sure we are on an
       // object for which DoFs have
       // been allocated at all
-      Assert (dof_offsets[obj_index] != numbers::invalid_dof_index,
+      Assert (dof_offsets[obj_index] != numbers::invalid_unsigned_int,
               ExcMessage ("You are trying to access degree of freedom "
                           "information for an object on which no such "
                           "information is available"));
@@ -611,7 +611,7 @@ namespace internal
       // make sure we are on an
       // object for which DoFs have
       // been allocated at all
-      Assert (dof_offsets[obj_index] != numbers::invalid_dof_index,
+      Assert (dof_offsets[obj_index] != numbers::invalid_unsigned_int,
               ExcMessage ("You are trying to access degree of freedom "
                           "information for an object on which no such "
                           "information is available"));

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.