From c9d31decc7e6bc5380effc09e23405385eee54b3 Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Fri, 27 May 2016 14:54:02 +0200 Subject: [PATCH] [SMPI] Fix if() condition to verbose comparison. --- src/smpi/smpi_pmpi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smpi/smpi_pmpi.cpp b/src/smpi/smpi_pmpi.cpp index 729c51a3fd..4d8771755b 100644 --- a/src/smpi/smpi_pmpi.cpp +++ b/src/smpi/smpi_pmpi.cpp @@ -27,7 +27,7 @@ int PMPI_Init(int *argc, char ***argv) // PMPI_Init is call only one time by only by SMPI process int already_init; MPI_Initialized(&already_init); - if(!(already_init)){ + if(already_init == 0){ smpi_process_init(argc, argv); smpi_process_mark_as_initialized(); int rank = smpi_process_index(); -- 2.20.1