Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix mismatched free() / delete.
[simgrid.git] / src / smpi / colls / alltoall / alltoall-3dmesh.cpp
index 24c6b35..85baad3 100644 (file)
@@ -5,7 +5,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "../colls_private.h"
-#include <math.h>
+#include <cmath>
 
 /*****************************************************************************
 
@@ -65,7 +65,7 @@ int Coll_alltoall_3dmesh::alltoall(void *send_buff, int send_count,
   num_procs = comm->size();
   extent = send_type->get_extent();
 
-  if (!alltoall_check_is_3dmesh(num_procs, &X, &Y, &Z))
+  if (not alltoall_check_is_3dmesh(num_procs, &X, &Y, &Z))
     return MPI_ERR_OTHER;
 
   num_reqs = X;