提交 beb7f084 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

fixed bug in the test

上级 4a961015
...@@ -2035,7 +2035,7 @@ class T_max_and_argmax(unittest.TestCase): ...@@ -2035,7 +2035,7 @@ class T_max_and_argmax(unittest.TestCase):
# It is the error saying there is no differentiable path to the # It is the error saying there is no differentiable path to the
# input # input
value_error_raised = True value_error_raised = True
if value_error_raised: if not value_error_raised:
raise ValueError(('Test failed because exception saying ' raise ValueError(('Test failed because exception saying '
'no differentiable path found was not ' 'no differentiable path found was not '
'raised')) 'raised'))
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论