Skip to content

Commit 0138e3a

Browse files
committed
fix env flag precedence bug
1 parent 78d7538 commit 0138e3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylops_mpi/utils/deps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def nccl_import(message: Optional[str] = None) -> str:
4040

4141

4242
cuda_aware_mpi_enabled: bool = (
43-
True if int(os.getenv("PYLOPS_MPI_CUDA_AWARE", 1) == 1) else False
43+
True if int(os.getenv("PYLOPS_MPI_CUDA_AWARE", 1)) == 1 else False
4444
)
4545

4646
nccl_enabled: bool = (

0 commit comments

Comments
 (0)