Skip to content

Commit 605c2e6

Browse files
committed
duh
1 parent f3a923c commit 605c2e6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/lapack.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4062,7 +4062,7 @@ for (stev, stebz, stegr, stein, elty) in
40624062
ldz = jobz == 'N' ? 1 : n
40634063
Zn = range == 'I' ? iu-il+1 : n
40644064
Z = similar(dv, $elty, ldz * Zn)
4065-
isuppz = similar(dv, BlasInt, 2*size(Z, 2))
4065+
isuppz = similar(dv, BlasInt, 2 * Zn)
40664066
work = Vector{$elty}(undef, 1)
40674067
lwork = BlasInt(-1)
40684068
iwork = Vector{BlasInt}(undef, 1)
@@ -4090,9 +4090,7 @@ for (stev, stebz, stegr, stein, elty) in
40904090
resize!(iwork, liwork)
40914091
end
40924092
end
4093-
wm = min(n, m[])
4094-
Zm = min(Zn, m[])
4095-
return resize!(w, wm), reshape(resize!(Z, ldz * Zm), ldz, Zm)
4093+
return resize!(w, m[]), reshape(resize!(Z, ldz * m[]), ldz, m[])
40964094
end
40974095

40984096
function stein!(dv::AbstractVector{$elty}, ev_in::AbstractVector{$elty}, w_in::AbstractVector{$elty}, iblock_in::AbstractVector{BlasInt}, isplit_in::AbstractVector{BlasInt})

0 commit comments

Comments
 (0)