sethaxen / ExponentialAction.jl

Compute the action of the matrix exponential
MIT License
24 stars 0 forks source link

Don't differentiate through _opnormInf #5

Closed sethaxen closed 3 years ago

sethaxen commented 3 years ago

Because _opnormInf is only used for control flow, we want to avoid tracing it at all if possible. This PR marks it as non-differentiable for ChainRules-compatible ADs.

codecov[bot] commented 3 years ago

Codecov Report

Merging #5 (62f8553) into main (6ee4452) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main       #5   +/-   ##
=======================================
  Coverage   98.59%   98.59%           
=======================================
  Files           5        5           
  Lines          71       71           
=======================================
  Hits           70       70           
  Misses          1        1           
Impacted Files Coverage Δ
src/util.jl 100.00% <ø> (ø)

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 6ee4452...62f8553. Read the comment docs.