mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-11 10:18:06 +01:00
Solving minor bug in compilation
This commit is contained in:
1 parent
8309f2364b
commit
8a3aae98f6
2 files changed
+8
-6
No files matched your search
@@ -53,9 +53,10 @@ void CartesianCommunicator::Init(int *argc, char ***argv) {
|
||||
ShmInitGeneric();
|
||||
}
|
||||
|
||||
CartesianCommunicator::~CartesianCommunicator(){
|
||||
 if (communicator && !MPI::Is_finalized())
|
||||
 MPI_Comm_free(&communicator);
|
||||
CartesianCommunicator::~CartesianCommunicator()
|
||||
{
|
||||
if (communicator && !MPI::Is_finalized())
|
||||
MPI_Comm_free(&communicator);
|
||||
}
|
||||
|
||||
void CartesianCommunicator::GlobalSum(uint32_t &u){
|
||||
|
||||
@@ -53,9 +53,10 @@ void CartesianCommunicator::Init(int *argc, char ***argv) {
|
||||
ShmInitGeneric();
|
||||
}
|
||||
|
||||
CartesianCommunicator::~CartesianCommunicator(){
|
||||
 if (communicator && !MPI::Is_finalized())
|
||||
 MPI_Comm_free(&communicator);
|
||||
CartesianCommunicator::~CartesianCommunicator()
|
||||
{
|
||||
if (communicator && !MPI::Is_finalized())
|
||||
MPI_Comm_free(&communicator);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user