From: Timo Heister Date: Thu, 17 Aug 2017 17:22:25 +0000 (-0400) Subject: fix distributed GridTools::exchange_cell_data_to_ghost serialization call X-Git-Tag: v9.0.0-rc1~1219^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4891%2Fhead;p=dealii.git fix distributed GridTools::exchange_cell_data_to_ghost serialization call --- diff --git a/include/deal.II/distributed/grid_tools.h b/include/deal.II/distributed/grid_tools.h index 1b1e61fcc6..c794a707ca 100644 --- a/include/deal.II/distributed/grid_tools.h +++ b/include/deal.II/distributed/grid_tools.h @@ -154,7 +154,8 @@ namespace parallel { Assert(cell_ids.size() == data.size(), ExcInternalError()); // archive the cellids in an efficient binary format - ar &cell_ids.size(); + const size_t n_cells = cell_ids.size(); + ar &n_cells; for (auto &it : cell_ids) { CellId::binary_type binary_cell_id = it.template to_binary();