提交 c150934c authored 作者: James Bergstra's avatar James Bergstra

merge

......@@ -4,7 +4,7 @@ enable_sparse=True
try:
import scipy
if not scipy.__version__.startswith('0.7.'):
if scipy.__version__ < '0.7':
sys.stderr.write("WARNING: scipy version = %s. We request version >=0.7.0 for the sparse code as it has bugs fixed in the sparse matrix code.\n" % scipy.__version__)
enable_sparse=False
except ImportError:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论