add missing parenthesis

This commit is contained in:
Axel Kohlmeyer 2019-08-01 20:43:33 -04:00
parent 5b4b418289
commit f61cd68ca4
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ KokkosLMP::KokkosLMP(LAMMPS *lmp, int narg, char **arg) : Pointers(lmp)
#if defined(MPICH) && defined(MVAPICH2_VERSION)
char* str;
cuda_aware_flag = 0;
if (str = getenv("MV2_ENABLE_CUDA")
if ((str = getenv("MV2_ENABLE_CUDA")))
if ((strcmp(str,"1") == 0))
cuda_aware_flag = 1;