From b6eec871813b3bc4f8542c5165dc41e6098aee32 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 30 Sep 2013 22:40:01 +0000 Subject: [PATCH] Fix a couple of assertions. git-svn-id: https://svn.dealii.org/trunk@31047 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/hp/dof_faces.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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")); -- 2.39.5