提交 063149a0 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Do not use scalar op on tensor.scalar

This error was previously caught as a MissingInputException.
上级 bca70569
......@@ -100,7 +100,7 @@ class T_function(unittest.TestCase):
def fn():
x,s = T.scalars('xs')
fn = function([In(x, update=mul(s,s)+x)], x)
fn = function([In(x, update=((s * s) + x))], x)
checkfor(self, fn, MissingInputError)
def test_input_anon_singleton(self):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论