提交 a3361d09 authored 作者: Pierre Luc Carrier's avatar Pierre Luc Carrier

Fixed failing TypedList example

上级 447ab32d
......@@ -42,6 +42,7 @@ class _typed_list_py_operators:
ttype = property(lambda self: self.type.ttype)
dtype = property(lambda self: self.type.ttype.dtype)
ndim = property(lambda self: self.type.ttype.ndim)
class TypedListVariable(_typed_list_py_operators, Variable):
......
......@@ -127,3 +127,6 @@ class TypedListType(gof.Type):
def c_code_cache_version(self):
return (2,)
dtype = property(lambda self: self.ttype)
ndim = property(lambda self: self.ttype.ndim)
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论