1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-09 21:50:45 +01:00

Make clang happy with parenthesis

This commit is contained in:
paboyle 2017-02-16 23:51:33 +00:00
parent be3a8249c6
commit 5c0adf7bf2

View File

@ -100,7 +100,7 @@ void CartesianCommunicator::Init(int *argc, char ***argv) {
int flag; int flag;
int provided; int provided;
mtrace(); // mtrace();
MPI_Initialized(&flag); // needed to coexist with other libs apparently MPI_Initialized(&flag); // needed to coexist with other libs apparently
if ( !flag ) { if ( !flag ) {
@ -511,7 +511,7 @@ void CartesianCommunicator::SendToRecvFromBegin(std::vector<CommsRequest_t> &lis
int myrank = _processor; int myrank = _processor;
int ierr; int ierr;
if ( (CommunicatorPolicy == CommunicatorPolicyIsend) ) { if ( CommunicatorPolicy == CommunicatorPolicyIsend ) {
MPI_Request xrq; MPI_Request xrq;
MPI_Request rrq; MPI_Request rrq;