diff --git a/src/cpu/VirtualFluidsCore/Parallel/MPICommunicator.h b/src/cpu/VirtualFluidsCore/Parallel/MPICommunicator.h index 26f814476ad6ad57b0801849535cb5275e9bcadb..3c25cc78f74e7a4efbca436bc0dc07b62ce4fa6e 100644 --- a/src/cpu/VirtualFluidsCore/Parallel/MPICommunicator.h +++ b/src/cpu/VirtualFluidsCore/Parallel/MPICommunicator.h @@ -141,13 +141,11 @@ void MPICommunicator::allGather(std::vector<T> &svalues, std::vector<T> &rvalues if (rvalues.size() == 0) { rvalues.resize(1); - rvalues[0] = -999; // FIXME warning C4245: As svalues and rvalues are of type vector<T> there could be a - // potenial signed/unsigned mismatch storring a negative number + rvalues[0] = 999; } if (scount == 0) { svalues.resize(1); - svalues[0] = -999; // FIXME warning C4245: As svalues and rvalues are of type vector<T> there could be a - // potenial signed/unsigned mismatch storring a negative number + svalues[0] = 999; } MPI_Allgatherv(&svalues[0], scount, mpiDataType, &rvalues[0], &rcounts[0], &displs[0], mpiDataType, comm);