From 3660c7f217ca3d0f78dd02ca3c6548d2221fbc90 Mon Sep 17 00:00:00 2001 From: Roland Grinis Date: Mon, 2 Aug 2021 09:34:44 +0100 Subject: [PATCH] clarifying parameters --- kmath-noa/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmath-noa/build.gradle.kts b/kmath-noa/build.gradle.kts index 26490dba4..c989877f1 100644 --- a/kmath-noa/build.gradle.kts +++ b/kmath-noa/build.gradle.kts @@ -26,7 +26,7 @@ val jNoaDir = "$thirdPartyDir/jnoa/noa-kmath" val cudaHome: String? = System.getenv("CUDA_HOME") val cudaDefault = file("/usr/local/cuda").exists() -val cudaFound = cudaHome?.isNotEmpty() ?: false or cudaDefault +val cudaFound = (cudaHome?.isNotEmpty() ?: false) or cudaDefault val cmakeArchive = "cmake-3.20.5-linux-x86_64" val torchArchive = "libtorch"