提交 6bd636eb authored 作者: Frederic's avatar Frederic

fix typo following code review.

上级 47b389ff
...@@ -3317,7 +3317,7 @@ class Subtensor(Op): ...@@ -3317,7 +3317,7 @@ class Subtensor(Op):
{ {
PyErr_Format(PyExc_ValueError, "x and xview" PyErr_Format(PyExc_ValueError, "x and xview"
"(with %%d dims) have the same dimensions" "(with %%d dims) have the same dimensions"
" pointors: %%p and %%p", " pointers: %%p and %%p",
%(x)s->nd, xview->dimensions, %(x)s->dimensions); %(x)s->nd, xview->dimensions, %(x)s->dimensions);
%(fail)s; %(fail)s;
} }
...@@ -3326,7 +3326,7 @@ class Subtensor(Op): ...@@ -3326,7 +3326,7 @@ class Subtensor(Op):
{ {
PyErr_Format(PyExc_ValueError, "x and xview" PyErr_Format(PyExc_ValueError, "x and xview"
"(with %%d dims) have the same strides" "(with %%d dims) have the same strides"
" pointors: %%p and %%p", " pointers: %%p and %%p",
%(x)s->nd, xview->strides, %(x)s->strides); %(x)s->nd, xview->strides, %(x)s->strides);
%(fail)s; %(fail)s;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论