From 6c82548beaed32355c0df37234feda0a9e7b0a2c Mon Sep 17 00:00:00 2001 From: Camille Coti <camille.coti@lipn.univ-paris13.fr> Date: Tue, 26 Nov 2019 19:24:07 -0800 Subject: [PATCH] Removed warning --- src/tensormatrix_mpi.cpp | 4 ++-- src/utils_parall.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tensormatrix_mpi.cpp b/src/tensormatrix_mpi.cpp index 9ede677..ef6a4c9 100644 --- a/src/tensormatrix_mpi.cpp +++ b/src/tensormatrix_mpi.cpp @@ -39,8 +39,8 @@ real 3m31,034s MPI_Datatype DT_PARAMETERS; MPI_Datatype DT_PARAMETERS_2; -int nbforemen = NBFOREMEN; /* Number of foremen to use with the hierarchical M/W */ -int maxresult = MAXRESULT; /* Maximum results in the result queue, addslave version */ +unsigned int nbforemen = NBFOREMEN; /* Number of foremen to use with the hierarchical M/W */ +unsigned int maxresult = MAXRESULT; /* Maximum results in the result queue, addslave version */ /******************************************************************************* * Main function * diff --git a/src/utils_parall.h b/src/utils_parall.h index 2d5cd4b..94f18ff 100644 --- a/src/utils_parall.h +++ b/src/utils_parall.h @@ -55,7 +55,7 @@ gi::ex add_expressions( std::vector<std::string>, gi::lst ); extern MPI_Datatype DT_PARAMETERS; extern MPI_Datatype DT_PARAMETERS_2; -extern int nbforemen; /* Number of foremen to use with the hierarchical M/W */ -extern int maxresult; /* Maximum results in the result queue, addslave version */ +extern unsigned int nbforemen; /* Number of foremen to use with the hierarchical M/W */ +extern unsigned int maxresult; /* Maximum results in the result queue, addslave version */ #endif // _UTILS_PARALL_H_ -- GitLab