提交 ca4690e9 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Cosmetic change

enable_sparse is indeed a Boolean
上级 378fb33d
...@@ -12,7 +12,7 @@ from theano.sparse import (enable_sparse, CSM, CSMProperties, csm_properties, ...@@ -12,7 +12,7 @@ from theano.sparse import (enable_sparse, CSM, CSMProperties, csm_properties,
from theano.sparse.tests.test_basic import random_lil from theano.sparse.tests.test_basic import random_lil
from theano.gof.python25 import any from theano.gof.python25 import any
if enable_sparse == False: if not enable_sparse:
raise SkipTest('Optional package sparse disabled') raise SkipTest('Optional package sparse disabled')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论