提交 bec57f6e authored 作者: Frederic Bastien's avatar Frederic Bastien 提交者: Reyhane Askari

Remove compiler warning

上级 0e918833
......@@ -1624,7 +1624,7 @@ for(int i=0;i<PyArray_NDIM(%(iname)s);i++){
def c_code_cache_version_apply(self, node):
# the version corresponding to the c code in this Op
version = [6]
version = [7]
# now we insert versions for the ops on which we depend...
scalar_node = Apply(
......
......@@ -100,13 +100,13 @@ def make_checks(loop_orders, dtypes, sub):
check += """
if (%%(lv%(j0)s)s_n%(x0)s != %%(lv%(j)s)s_n%(x)s)
{
PyErr_Format(PyExc_ValueError, "Input dimension mis-match. (input[%%%%i].shape[%%%%i] = %%%%i, input[%%%%i].shape[%%%%i] = %%%%i)",
PyErr_Format(PyExc_ValueError, "Input dimension mis-match. (input[%%%%i].shape[%%%%i] = %%%%li, input[%%%%i].shape[%%%%i] = %%%%li)",
%(j0)s,
%(x0)s,
%%(lv%(j0)s)s_n%(x0)s,
(long int) %%(lv%(j0)s)s_n%(x0)s,
%(j)s,
%(x)s,
%%(lv%(j)s)s_n%(x)s
(long int) %%(lv%(j)s)s_n%(x)s
);
%%(fail)s
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论