summaryrefslogtreecommitdiff
path: root/boost/mpi/communicator.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/mpi/communicator.hpp')
-rw-r--r--boost/mpi/communicator.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/mpi/communicator.hpp b/boost/mpi/communicator.hpp
index fcef0866a9..46f7375d6f 100644
--- a/boost/mpi/communicator.hpp
+++ b/boost/mpi/communicator.hpp
@@ -1257,7 +1257,7 @@ communicator::array_recv_impl(int source, int tag, T* values, int n,
ia >> count;
// Deserialize the data in the message
- boost::serialization::array<T> arr(values, count > n? n : count);
+ boost::serialization::array_wrapper<T> arr(values, count > n? n : count);
ia >> arr;
if (count > n) {
@@ -1459,7 +1459,7 @@ namespace detail {
ia >> count;
// Deserialize the data in the message
- boost::serialization::array<T> arr(values, count > n? n : count);
+ boost::serialization::array_wrapper<T> arr(values, count > n? n : count);
ia >> arr;
if (count > n) {