From 4d4559f411011fef5856081397e3e46bbbb8537b Mon Sep 17 00:00:00 2001 From: theComputeKid Date: Sun, 15 Sep 2024 13:09:03 +0100 Subject: [PATCH] Fix non-cuda system detection. --- src/utils.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.lua b/src/utils.lua index 9850664..28c3124 100644 --- a/src/utils.lua +++ b/src/utils.lua @@ -15,7 +15,7 @@ function detectNvccVersion(cudaPath) end end - if not errorCode == 0 then + if errorCode ~= 0 then return 0 end