提交 8dc58fbb authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Do not forget to initialize substitution dict by "sub" in C code.

上级 0adc3287
......@@ -192,7 +192,8 @@ class Scalar(Type):
%(fail)s
}
PyArrayScalar_ASSIGN(py_%(name)s, %(cls)s, %(name)s);
""" % dict(name = name,
""" % dict(sub,
name = name,
dtype = specs[1],
cls = specs[2])
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论