• Luca Citi's avatar
    Cover more cases of `log1mexp` stabilization (#1483) · d3bbc20a
    Luca Citi 提交于
    * Created some tests that fail due to #1476
    
    * Fixes 1476 and other ways to create a log1mexp
    
    * Reimplemented logmexpm1_to_log1mexp by tracking expm1 and then looking through the clients
    
    * Absorbed the rewrite log1pexp_to_softplus into the new rewrite for log1mexp
    
    * Fixed bug where I forgot to check whether result of is_neg was None or not before proceeding
    
    ---------
    Co-authored-by: 's avatarLuca Citi <lciti@ieee.org>
    d3bbc20a
test_math.py 165.7 KB