From: Wolfgang Bangerth Date: Mon, 30 Sep 2013 22:40:01 +0000 (+0000) Subject: Fix a couple of assertions. X-Git-Tag: v8.1.0~672 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6eec871813b3bc4f8542c5165dc41e6098aee32;p=dealii.git Fix a couple of assertions. git-svn-id: https://svn.dealii.org/trunk@31047 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/hp/dof_faces.h b/deal.II/include/deal.II/hp/dof_faces.h index a5bce7eedc..3aa6f9c4d5 100644 --- a/deal.II/include/deal.II/hp/dof_faces.h +++ b/deal.II/include/deal.II/hp/dof_faces.h @@ -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"));