From: Wolfgang Bangerth Date: Thu, 17 Nov 2016 02:58:36 +0000 (-0700) Subject: Fix compilation. X-Git-Tag: v8.5.0-rc1~391^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3598%2Fhead;p=dealii.git Fix compilation. --- diff --git a/source/base/mpi.cc b/source/base/mpi.cc index 3077c4d980..6ddcd0d52b 100644 --- a/source/base/mpi.cc +++ b/source/base/mpi.cc @@ -401,9 +401,9 @@ namespace Utilities std::vector all_hostnames(max_hostname_size * MPI::n_mpi_processes(MPI_COMM_WORLD)); - const int ierr MPI_Allgather (&hostname_array[0], max_hostname_size, MPI_CHAR, - &all_hostnames[0], max_hostname_size, MPI_CHAR, - MPI_COMM_WORLD); + const int ierr = MPI_Allgather (&hostname_array[0], max_hostname_size, MPI_CHAR, + &all_hostnames[0], max_hostname_size, MPI_CHAR, + MPI_COMM_WORLD); AssertThrowMPI(ierr); // search how often our own hostname appears and the how-manyth