提交 ffaa052c authored 作者: Caglar's avatar Caglar

Simplified the if condition.

上级 56a081da
......@@ -50,7 +50,7 @@ class GpuSolve(GpuOp):
# Initialize CULA the first time it is needed
global cula_initialized
if not (cula_available and cula):
if not cula_available:
raise RuntimeError('Cula is not available and '
'GpuSolve Op can not be constructed.')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论