We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09d6b8c commit 48902b2Copy full SHA for 48902b2
1 file changed
test/Main.hs
@@ -26,7 +26,7 @@ main = do
26
-- default backend throw (e.g. cl::Error: clGetDeviceIDs). Fall back to
27
-- the CPU backend when running in CI.
28
inCI <- isJust <$> lookupEnv "CI"
29
- A.setBackend (if inCI then A.CPU else A.Default)
+ when (not inCI) (A.setBackend A.Default)
30
-- checks (Proxy :: Proxy (A.Array (A.Complex Float)))
31
-- checks (Proxy :: Proxy (A.Array (A.Complex Double)))
32
-- checks (Proxy :: Proxy (A.Array Double))
0 commit comments