提交 1e46aabc authored 作者: Frederic Bastien's avatar Frederic Bastien

fix typo

上级 55b96ed6
......@@ -1060,7 +1060,7 @@ class Scan(Op):
elif self.store_steps[j] == 1:
try:
if hasattr(something[j],'dtype') and y[j].dtype != something[j].dtpye:
if hasattr(something[j],'dtype') and y[j].dtype != something[j].dtype:
raise ValueError('wrong dtype')
y[j] = something[j]
except:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论