]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make code a bit more readable. 12867/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 22 Oct 2021 23:26:51 +0000 (17:26 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 22 Oct 2021 23:26:51 +0000 (17:26 -0600)
source/distributed/tria_base.cc

index 26162dfef3ff6525db21ce44970161433c51d5e5..0cf076328d886a74b421194a329b6039de531c41 100644 (file)
@@ -1447,12 +1447,10 @@ namespace parallel
         size_header + static_cast<MPI_Offset>(global_first_cell) *
                         sizes_fixed_cumulative.back();
 
-      const char *data = src_data_fixed.data();
-
       ierr = MPI_File_write_at(fh,
                                my_global_file_position,
-                               DEAL_II_MPI_CONST_CAST(data),
-                               src_data_fixed.size(), // local buffer
+                               DEAL_II_MPI_CONST_CAST(src_data_fixed.data()),
+                               src_data_fixed.size(),
                                MPI_CHAR,
                                MPI_STATUS_IGNORE);
       AssertThrowMPI(ierr);

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.