提交 56368895 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Fixed issue where the wrong compile mode might have been used in some tests

上级 02b7bf18
......@@ -34,8 +34,9 @@ except ImportError:
### seed random number generator so that unittests are deterministic ###
utt.seed_rng()
def inplace_func(inputs, outputs, mode=get_default_mode(),
allow_input_downcast=False):
def inplace_func(inputs, outputs, mode=None, allow_input_downcast=False):
if mode is None:
mode = get_default_mode()
return function(inputs, outputs,
mode=mode,
allow_input_downcast=allow_input_downcast,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论