提交 33b5dab6 authored 作者: Frederic's avatar Frederic

fix compilation crash

上级 77a0eba2
......@@ -81,7 +81,7 @@ class CumsumOp(theano.Op):
%(fail)s;
}
// Because PyArray_CumSum returns a newly created reference on %(t)s.
Py_XDECREF(%(t)s);
Py_XDECREF(t);
}
""" % locals()
else:
......@@ -103,7 +103,7 @@ class CumsumOp(theano.Op):
%(fail)s;
}
// Because PyArray_CumSum returns a newly created reference on %(t)s.
Py_XDECREF(%(t)s);
Py_XDECREF(t);
}
""" % locals()
......@@ -203,7 +203,7 @@ class CumprodOp(theano.Op):
%(fail)s;
}
// Because PyArray_CumSum returns a newly created reference on %(t)s.
Py_XDECREF(%(t)s);
Py_XDECREF(t);
}
""" % locals()
else:
......@@ -224,7 +224,7 @@ class CumprodOp(theano.Op):
%(fail)s;
}
// Because PyArray_CumSum returns a newly created reference on %(t)s.
Py_XDECREF(%(t)s);
Py_XDECREF(t);
}
""" % locals()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论