提交 63c625c6 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Forgot that one in previous commit.

上级 059433c1
...@@ -2630,7 +2630,7 @@ def mod_check(x, y): ...@@ -2630,7 +2630,7 @@ def mod_check(x, y):
if (as_tensor_variable(x).dtype in complex_dtypes or if (as_tensor_variable(x).dtype in complex_dtypes or
as_tensor_variable(y).dtype in complex_dtypes): as_tensor_variable(y).dtype in complex_dtypes):
# Currently forbidden. # Currently forbidden.
scal.raise_complex_error() raise scal.Mod.complex_error
else: else:
return mod(x, y) return mod(x, y)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论