From: Daniel Arndt Date: Wed, 27 Mar 2019 23:39:39 +0000 (-0400) Subject: Call the new functions instead of copying the implementation X-Git-Tag: v9.1.0-rc1~237^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c62f62c85e65799e04bddb879cdbc45e584362a;p=dealii.git Call the new functions instead of copying the implementation --- diff --git a/source/distributed/solution_transfer.cc b/source/distributed/solution_transfer.cc index 0919d7c798..26e0cb1a70 100644 --- a/source/distributed/solution_transfer.cc +++ b/source/distributed/solution_transfer.cc @@ -135,8 +135,7 @@ namespace parallel SolutionTransfer::prepare_serialization( const VectorType &in) { - std::vector all_in(1, &in); - prepare_for_serialization(all_in); + prepare_for_serialization(in); } @@ -146,7 +145,7 @@ namespace parallel SolutionTransfer::prepare_serialization( const std::vector &all_in) { - prepare_for_coarsening_and_refinement(all_in); + prepare_for_serialization(all_in); }