Skip to content

Commit

Permalink
agnostic (#441)
Browse files Browse the repository at this point in the history
  • Loading branch information
matbesancon authored Oct 23, 2023
1 parent 1bf50a2 commit 3dbc5b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linesearch.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ perform_line_search(
memory_mode::MemoryEmphasis,
) where {T} = T(ls.l / (t + ls.l))

Base.print(io::IO, ::Agnostic) = print(io, "Agnostic")
Base.print(io::IO, ls::Agnostic) = print(io, "Agnostic($(ls.l))")

"""
Computes a step size for nonconvex functions: `1/sqrt(t + 1)`.
Expand Down

0 comments on commit 3dbc5b7

Please sign in to comment.