提交 c7f2dd05 authored 作者: Frederic Bastien's avatar Frederic Bastien

Fix compilation of elemwise with multiple output reported by lachlants

上级 b2e969c3
......@@ -1045,8 +1045,8 @@ second dimension
Py_XINCREF(%(oname)s);
""" % locals()
# We alias the scalar variables
defines += "#define %(oname)s_i %(iname)s_i" % locals()
undefs += "#undef %(oname)s_i" % locals()
defines += "#define %(oname)s_i %(iname)s_i\n" % locals()
undefs += "#undef %(oname)s_i\n" % locals()
# Note: here, olv_index is either the index of the last output
# which is allocated, OR, if there are any aliased outputs,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论