Skip to content

Commit 4053e46

Browse files
committed
Generic storage type in armijo_wolfe
1 parent 4c79f39 commit 4053e46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linesearch/armijo_wolfe.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function armijo_wolfe(
3939
h::LineModel,
4040
h₀::T,
4141
slope::T,
42-
g::Array{T, 1};
42+
g::AbstractVector{T};
4343
t::T = one(T),
4444
τ₀::T = max(T(1.0e-4), sqrt(eps(T))),
4545
τ₁::T = T(0.9999),

0 commit comments

Comments
 (0)