Skip to content

Commit

Permalink
fix-varargs (#700)
Browse files Browse the repository at this point in the history
`Vararg{<:Any, N}` should be `Vararg{Any, N}`
  • Loading branch information
oscardssmith authored Nov 23, 2024
1 parent 78c1036 commit 1af4188
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sparse/broadcast.jl
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ struct CSRIterator{Ti,N,ATs}
args::ATs
end

function CSRIterator{Ti}(row, args::Vararg{<:Any, N}) where {Ti,N}
function CSRIterator{Ti}(row, args::Vararg{Any, N}) where {Ti,N}
# check that `row` is valid for all arguments
@boundscheck begin
ntuple(Val(N)) do i
Expand Down Expand Up @@ -199,7 +199,7 @@ struct CSCIterator{Ti,N,ATs}
args::ATs
end

function CSCIterator{Ti}(col, args::Vararg{<:Any, N}) where {Ti,N}
function CSCIterator{Ti}(col, args::Vararg{Any, N}) where {Ti,N}
# check that `col` is valid for all arguments
@boundscheck begin
ntuple(Val(N)) do i
Expand Down

0 comments on commit 1af4188

Please sign in to comment.