From 3c62f62c85e65799e04bddb879cdbc45e584362a Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Wed, 27 Mar 2019 19:39:39 -0400 Subject: [PATCH] Call the new functions instead of copying the implementation --- source/distributed/solution_transfer.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); } -- 2.39.5