forked from lijiext/lammps
add missing parenthesis
This commit is contained in:
parent
5b4b418289
commit
f61cd68ca4
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue