From: Augustin Degomme Date: Thu, 18 Apr 2019 18:37:29 +0000 (+0200) Subject: please clang X-Git-Tag: v3.22.2~100 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/c69b4898204d294ef92378ed0c97f8994d5b12f8 please clang --- diff --git a/src/smpi/bindings/smpi_pmpi_file.cpp b/src/smpi/bindings/smpi_pmpi_file.cpp index dc03edffba..6c50a76ed4 100644 --- a/src/smpi/bindings/smpi_pmpi_file.cpp +++ b/src/smpi/bindings/smpi_pmpi_file.cpp @@ -20,7 +20,7 @@ int PMPI_File_open(MPI_Comm comm, char *filename, int amode, MPI_Info info, MPI_ smpi_bench_end(); *fh = new simgrid::smpi::File(comm, filename, amode, info); smpi_bench_begin(); - if (((*fh)->size() == 0 && (not amode & MPI_MODE_CREATE)) || + if (((*fh)->size() == 0 && not (amode & MPI_MODE_CREATE)) || ((*fh)->size() != 0 && (amode & MPI_MODE_EXCL))){ delete fh; return MPI_ERR_AMODE;