]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid warning in 64-bit mode. 4793/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sat, 12 Aug 2017 18:14:48 +0000 (12:14 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sat, 12 Aug 2017 18:14:48 +0000 (12:14 -0600)
#4778 also forgot to fix an initializer. This patch fixes this.

source/hp/dof_handler.cc

index 75123e9861f5d453d07c3f5da463abe378bbf2bc..21078fa6a726efa8744b2582dfb9f9b14fd80b18 100644 (file)
@@ -171,7 +171,7 @@ namespace internal
           // one slot as the end marker for the fe_indices. at the
           // same time already fill the vertex_dof_offsets field
           dof_handler.vertex_dof_offsets.resize (dof_handler.tria->n_vertices(),
-                                                 numbers::invalid_dof_index);
+                                                 numbers::invalid_unsigned_int);
 
           unsigned int vertex_slots_needed = 0;
           for (unsigned int v=0; v<dof_handler.tria->n_vertices(); ++v)

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.