提交 4061f916 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Try to make sure that the support code is not duplicated due to whitespace differences.

上级 0f8d0341
......@@ -3018,7 +3018,7 @@ class Composite(ScalarOp):
rval = []
for subnode in self.fgraph.toposort():
try:
rval.append(subnode.op.c_support_code())
rval.append(subnode.op.c_support_code().strip())
except gof.utils.MethodNotDefined:
pass
# remove duplicate code blocks
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论