]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix type of variable in GridTools::compute_local_to_global_vertex_index_map 10470/head
authorDaniel Arndt <arndtd@ornl.gov>
Fri, 5 Jun 2020 18:26:20 +0000 (14:26 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Fri, 5 Jun 2020 18:35:45 +0000 (14:35 -0400)
source/grid/grid_tools.cc

index d18b0033fd18e584025e9a0173c5bcfb2f648e88..9f6beb99d24265d1d8485b139d718ef4339e0536 100644 (file)
@@ -2266,7 +2266,7 @@ namespace GridTools
 
     // Make indices global by getting the number of vertices owned by each
     // processors and shifting the indices accordingly
-    types::global_dof_index shift = 0;
+    types::global_vertex_index shift = 0;
     int ierr = MPI_Exscan(&next_index,
                           &shift,
                           1,

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.