Skip to content

Commit 5ff1763

Browse files
committed
Use BandIndex directly in digazero
1 parent 6bb999c commit 5ff1763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tridiag.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ end
727727
elseif b.band == 1
728728
return @inbounds A.du[b.index]
729729
else
730-
return diagzero(A, Tuple(_cartinds(b))...)
730+
return diagzero(A, b)
731731
end
732732
end
733733

0 commit comments

Comments
 (0)