From 3dbc5b753fe428256f85dccb358acb9ad34d56b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathieu=20Besan=C3=A7on?= Date: Mon, 23 Oct 2023 14:02:57 +0200 Subject: [PATCH] agnostic (#441) --- src/linesearch.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linesearch.jl b/src/linesearch.jl index 82e53ceff..c5a7f207b 100644 --- a/src/linesearch.jl +++ b/src/linesearch.jl @@ -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)`.