From 5bf1a52821f85ccceeea9409e8d5f49dad76ec66 Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 16 Sep 2013 20:03:51 +0000 Subject: [PATCH] Avoid yet another (completely legitimate) warning. git-svn-id: https://svn.dealii.org/trunk@30742 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/hp/dof_level.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")); -- 2.39.5