]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix Assert with the correct number type
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 18 Aug 2017 16:34:06 +0000 (18:34 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 18 Aug 2017 16:34:06 +0000 (18:34 +0200)
include/deal.II/dofs/dof_accessor.templates.h

index 3563e3b4644c27b06ca056309ed39b9c4606fc5f..50918550967c942647d93910d034b15c7dc9fabc 100644 (file)
@@ -1264,7 +1264,7 @@ namespace internal
                 ExcIndexRange (vertex_index, 0,
                                dof_handler.vertex_dof_offsets.size()));
         Assert (dof_handler.vertex_dof_offsets[vertex_index] !=
-                numbers::invalid_dof_index,
+                numbers::invalid_unsigned_int,
                 ExcMessage ("This vertex is unused and has no DoFs associated with it"));
 
         // hop along the list of index

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.