funsor.joint.eager_reduce_exp
behaves differently with memoize
#561
Labels
funsor.joint.eager_reduce_exp
behaves differently with memoize
#561
The
if
statement ineager_reduce_exp
evaluates toFalse
undermemoize
and the function returnsNone
. Withoutmemoize
it returnslog_result.exp()
as expected.funsor/funsor/joint.py
Lines 157 to 165 in ca1557b
Example code:
The text was updated successfully, but these errors were encountered: