JuliaDiff / ChainRulesTestUtils.jl

Utilities for testing custom AD primitives.
MIT License
50 stars 15 forks source link

Add ZeroTangent vs array of arrays tests #257

Closed alyst closed 2 years ago

alyst commented 2 years ago

This fixes the test_approx() method call errors in DistributionsAD.jl unit tests that I came across while working on TuringLang/DistributionsAD.jl#227.

codecov-commenter commented 2 years ago

Codecov Report

Merging #257 (b06c25a) into main (5b9ec32) will increase coverage by 0.03%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #257      +/-   ##
==========================================
+ Coverage   93.41%   93.45%   +0.03%     
==========================================
  Files          12       12              
  Lines         334      336       +2     
==========================================
+ Hits          312      314       +2     
  Misses         22       22              
Impacted Files Coverage Δ
src/check_result.jl 90.27% <100.00%> (+0.27%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5b9ec32...b06c25a. Read the comment docs.