提交 6a0385cd authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Cast the output to the declared type

上级 714dac74
......@@ -117,6 +117,7 @@ class MyOpEnumList(Op):
o[0] = a // b
else:
raise NotImplementedError('Unknown op id ' + str(op))
o[0] = np.float64(o[0])
def c_code_cache_version(self):
return (1,)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论