提交 0a6ebc1f authored 作者: Frederic's avatar Frederic

fix comment. I ran the tests this time!

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