提交 216e514a authored 作者: James Bergstra's avatar James Bergstra

nicer error msg

上级 b594140c
......@@ -67,7 +67,7 @@ def make_checks(loop_orders, dtypes, sub):
if cond:
check += """
if (%(cond)s) {
PyErr_SetString(PyExc_ValueError, "Input dimensions do not match.");
PyErr_SetString(PyExc_ValueError, "Input dimensions do not match (Try re-running with py linker for more information).");
%%(fail)s
}
""" % locals()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论