From: Wolfgang Bangerth Date: Fri, 22 Oct 2021 23:26:51 +0000 (-0600) Subject: Make code a bit more readable. X-Git-Tag: v9.4.0-rc1~904^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6581113d88677d9c02bec7f3d5c0f3dfdeb868ee;p=dealii.git Make code a bit more readable. --- diff --git a/source/distributed/tria_base.cc b/source/distributed/tria_base.cc index 26162dfef3..0cf076328d 100644 --- a/source/distributed/tria_base.cc +++ b/source/distributed/tria_base.cc @@ -1447,12 +1447,10 @@ namespace parallel size_header + static_cast(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);