]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Minor fixes. 10868/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 1 Sep 2020 00:35:32 +0000 (18:35 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 1 Sep 2020 00:35:32 +0000 (18:35 -0600)
include/deal.II/grid/tria_objects.h

index af9bacb7f0fdbe284922c37b000dfe7e904680e1..1baef00122b73aafadb2add756a397f5369811c1 100644 (file)
@@ -60,7 +60,7 @@ namespace internal
       /**
        * Constructor for a specific dimension.
        */
-      TriaObjects(unsigned int structdim);
+      TriaObjects(const unsigned int structdim);
 
       unsigned int structdim;
 
@@ -490,7 +490,7 @@ namespace internal
 
 
     inline TriaObjects::TriaObjects()
-      : structdim(static_cast<unsigned int>(-1))
+      : structdim(numbers::invalid_unsigned_int)
       , next_free_single(numbers::invalid_unsigned_int)
       , next_free_pair(numbers::invalid_unsigned_int)
       , reverse_order_next_free_single(false)

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.