Closed dspyz-matician closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 91.48%. Comparing base (
a9e3eb7
) to head (15d60af
). Report is 11 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I want to implement my own custom
Param
type, but useArray1<f32>
as the gradient type. However, the current constraints essentially force these types to be the same because theBacktrackingLineSearch
trait is only implemented for <G, F> not for <P, F>This PR fixes BFGS's constraints so that G is used consistently as the parameter to
BFGS
's associatedLineSearch