Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/bidiag.jl
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ end
# we explicitly compare the possible bands as b.band may be constant-propagated
return @inbounds A.ev[b.index]
else
return diagzero(A, Tuple(_cartinds(b))...)
return diagzero(A, b)
end
end

Expand Down
2 changes: 1 addition & 1 deletion src/diagonal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ zeroslike(::Type{M}, sz::Tuple{Integer, Vararg{Integer}}) where {M<:AbstractMatr
if b.band == 0
@inbounds r = D.diag[b.index]
else
r = diagzero(D, Tuple(_cartinds(b))...)
r = diagzero(D, b)
end
r
end
Expand Down