From: Peter Munch Date: Wed, 3 Mar 2021 17:37:18 +0000 (+0100) Subject: Fix ConsensusAlgorithms::Serial X-Git-Tag: v9.3.0-rc1~379^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b8f92156db7d8ebbbaaeb649a3796fe3cb1862d;p=dealii.git Fix ConsensusAlgorithms::Serial --- diff --git a/include/deal.II/base/mpi_consensus_algorithms.templates.h b/include/deal.II/base/mpi_consensus_algorithms.templates.h index 725c611ea0..f969d136e1 100644 --- a/include/deal.II/base/mpi_consensus_algorithms.templates.h +++ b/include/deal.II/base/mpi_consensus_algorithms.templates.h @@ -575,11 +575,11 @@ namespace Utilities std::vector send_buffer; std::vector recv_buffer; std::vector request_buffer; - std::vector buffer_recv; this->process.create_request(0, send_buffer); this->process.prepare_buffer_for_answer(0, recv_buffer); - this->process.answer_request(0, buffer_recv, request_buffer); + this->process.answer_request(0, send_buffer, request_buffer); + recv_buffer = request_buffer; this->process.read_answer(0, recv_buffer); }