提交 00135e8f authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Declaring as implicit the implicit inputs

上级 41f43f0d
...@@ -438,6 +438,13 @@ class Method(Component): ...@@ -438,6 +438,13 @@ class Method(Component):
assert storage.mutable == False assert storage.mutable == False
else: else:
storage = get_storage(input, not allocate_all) storage = get_storage(input, not allocate_all)
# Declare as an implicit input.
# TODO Note from OD: is this dangerous? (in case this storage
# is shared, and would sometimes need to be implicit, sometimes
# not).
storage.implicit = True
assert type(storage) is io.In assert type(storage) is io.In
inputs.append(storage) inputs.append(storage)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论