提交 75f3fd4e authored 作者: Pierre Luc Carrier's avatar Pierre Luc Carrier

Fix crash in connection_pattern

上级 e85ae3bd
......@@ -1414,11 +1414,8 @@ class Scan(PureOp):
corresponding inner output(s) in a sequence.
"""
s = 0
if self.n_mit_mot > 0:
e = len(self.mitmot_out_taps()[0])
else:
e = 1
for p in xrange(oidx):
e = 0
for p in xrange(oidx + 1):
s = e
if p < self.n_mit_mot:
e += len(self.mitmot_out_taps()[p])
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论