We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae99260 commit cbbf888Copy full SHA for cbbf888
1 file changed
funsor/adjoint.py
@@ -58,7 +58,8 @@ def interpret(self, cls, *args):
58
)
59
for arg in args
60
]
61
- self._eager_to_lazy[result] = reflect.interpret(cls, *lazy_args)
+ with self._old_interpretation:
62
+ self._eager_to_lazy[result] = reflect.interpret(cls, *lazy_args)
63
return result
64
65
def __enter__(self):
0 commit comments