We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 579b5f7 commit 3455cb3Copy full SHA for 3455cb3
src/tridiag.jl
@@ -470,7 +470,7 @@ end
470
elseif i + 1 == j
471
return @inbounds A.ev[i]
472
else
473
- return zero(T)
+ return diagzero(A, i, j)
474
end
475
476
@@ -714,7 +714,7 @@ end
714
715
return @inbounds A.du[i]
716
717
718
719
720
@@ -727,7 +727,7 @@ end
727
elseif b.band == 1
728
return @inbounds A.du[b.index]
729
730
+ return diagzero(A, Tuple(_cartinds(b))...)
731
732
733
0 commit comments