Changeset 1379


Ignore:
Timestamp:
12/14/17 13:56:45 (4 years ago)
Author:
yushan
Message:

fix small bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/extern/src_ep_dev/ep_free.cpp

    r1356 r1379  
    6969        } 
    7070 
    71         if(  comm->mpi_comm != static_cast< ::MPI_Comm*>(MPI_COMM_NULL.mpi_comm)  
    72           && comm->mpi_comm != static_cast< ::MPI_Comm*>(MPI_COMM_WORLD.mpi_comm)) 
     71        if( to_mpi_comm(comm->mpi_comm) != *static_cast< ::MPI_Comm*>(MPI_COMM_NULL.mpi_comm)  
     72          && to_mpi_comm(comm->mpi_comm) != *static_cast< ::MPI_Comm*>(MPI_COMM_WORLD.mpi_comm)) 
    7373        { 
    7474          ::MPI_Comm mpi_comm = to_mpi_comm(comm->mpi_comm); 
Note: See TracChangeset for help on using the changeset viewer.