提交 a60ff0c5 authored 作者: serdyuk's avatar serdyuk

Fixed typo in custom pickler

上级 1547ecc6
......@@ -166,7 +166,7 @@ class PersistentCudaNdarrayID(PersistentNdarrayID):
zipadd(write_array, self.zip_file, name)
self.seen[id(obj)] = 'cuda_ndarray.{0}'.format(name)
return self.seen[id(obj)]
super(PersistentCudaNdarrayID, self).__call__(obj)
return super(PersistentCudaNdarrayID, self).__call__(obj)
class PersistentSharedVariableID(PersistentCudaNdarrayID):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论