Skip to content

Commit 6873fa5

Browse files
authored
Update static.jl for AbstractArrays
1 parent 128e8c8 commit 6873fa5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/static.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ function (ls::Static)(df, x, s, x_scratch, lsr, alpha, mayterminate)
2828
end
2929

3030
function _static!(df,
31-
x::Array{T},
32-
s::Array{T},
33-
x_scratch::Array{T},
31+
x::AbstractArray{T},
32+
s::AbstractArray{T},
33+
x_scratch::AbstractArray{T},
3434
lsr::LineSearchResults,
3535
alpha::Real = 1.0,
3636
mayterminate::Bool = false) where T

0 commit comments

Comments
 (0)