From: bangerth Date: Mon, 16 Sep 2013 20:03:51 +0000 (+0000) Subject: Avoid yet another (completely legitimate) warning. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bf1a52821f85ccceeea9409e8d5f49dad76ec66;p=dealii-svn.git Avoid yet another (completely legitimate) warning. git-svn-id: https://svn.dealii.org/trunk@30742 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/hp/dof_level.h b/deal.II/include/deal.II/hp/dof_level.h index 80c4e24b3f..0f9e43fd85 100644 --- a/deal.II/include/deal.II/hp/dof_level.h +++ b/deal.II/include/deal.II/hp/dof_level.h @@ -324,7 +324,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] != (offset_type)(-1), ExcMessage ("You are trying to access degree of freedom " "information for an object on which no such " "information is available")); @@ -356,7 +356,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] != (offset_type)(-1), ExcMessage ("You are trying to access degree of freedom " "information for an object on which no such " "information is available"));