Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please clang
authorAugustin Degomme <adegomme@users.noreply.github.com>
Thu, 18 Apr 2019 18:37:29 +0000 (20:37 +0200)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Thu, 18 Apr 2019 18:37:29 +0000 (20:37 +0200)
src/smpi/bindings/smpi_pmpi_file.cpp

index dc03edf..6c50a76 100644 (file)
@@ -20,7 +20,7 @@ int PMPI_File_open(MPI_Comm comm, char *filename, int amode, MPI_Info info, MPI_
   smpi_bench_end();\r
   *fh =  new simgrid::smpi::File(comm, filename, amode, info);\r
   smpi_bench_begin();\r
-  if (((*fh)->size() == 0 && (not amode & MPI_MODE_CREATE)) ||\r
+  if (((*fh)->size() == 0 && not (amode & MPI_MODE_CREATE)) ||\r
      ((*fh)->size() != 0 && (amode & MPI_MODE_EXCL))){\r
     delete fh;\r
     return MPI_ERR_AMODE;\r