提交 9fad11da authored 作者: Frederic Bastien's avatar Frederic Bastien

[BUG] bugfix of python code. It is triggered in DebugMode with this test…

[BUG] bugfix of python code. It is triggered in DebugMode with this test theano/sandbox/tests/test_rng_mrg.py:test_multinomial_n_samples
上级 fcfa049f
......@@ -177,7 +177,7 @@ class MultinomialFromUniform(Op):
for n in range(nb_multi):
waiting = True
cummul = 0
unis_n = unis[n]
unis_n = unis[c * nb_multi + n]
for m in range(nb_outcomes):
cummul += pvals[n, m]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论