]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use numbers::invalid_unsigned_int. 16913/head
authorDavid Wells <drwells@email.unc.edu>
Sat, 13 Apr 2024 21:25:57 +0000 (17:25 -0400)
committerDavid Wells <drwells@email.unc.edu>
Sat, 20 Apr 2024 12:12:47 +0000 (08:12 -0400)
source/grid/tria.cc

index f4603be4c70f7ac5d7588a56da135a2aea2c022f..de3681962d4333530b08605532e3bd16e89feae5 100644 (file)
@@ -3583,7 +3583,7 @@ namespace internal
 
         const unsigned int max_faces_per_cell = 2 * dim;
 
-        level.active_cell_indices.assign(size, -1);
+        level.active_cell_indices.assign(size, numbers::invalid_unsigned_int);
         level.subdomain_ids.assign(size, 0);
         level.level_subdomain_ids.assign(size, 0);
 

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.