JuliaDiff / AbstractDifferentiation.jl

An abstract interface for automatic differentiation.
https://juliadiff.org/AbstractDifferentiation.jl/
MIT License
135 stars 18 forks source link

Remove duplicate methods of `value_and_hessian` #126

Closed adrhill closed 8 months ago

adrhill commented 8 months ago

Remove duplicate methods of value_and_hessian and value_gradient_and_hessian for HigherOrderBackends.

These two methods are duplicates of the implementations for AbstractBackends. Since HigherOrderBackend is an AbstractBackend, they are not required.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (211b675) 82.94% compared to head (9c81c3c) 82.72%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #126 +/- ## ========================================== - Coverage 82.94% 82.72% -0.22% ========================================== Files 8 8 Lines 428 411 -17 ========================================== - Hits 355 340 -15 + Misses 73 71 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.