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

Added TODO comment made by Pascal L in a code review

上级 542dd034
......@@ -622,6 +622,10 @@ def guess_n_streams(size, warn=True):
return r
else:
if warn:
# TODO We should use the logging (or warnings) module, not
# sys.stderr.
# It's also easier to use those module to filter out that message
# in the tests.
print >> sys.stderr, (
"MRG_RandomStreams Can't determine #streams from "
"size (%s), guessing 30*256") % str(size)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论