Skip to content

Commit 4bf986b

Browse files
committed
Also add for w.
1 parent e519b44 commit 4bf986b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lapack.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4090,8 +4090,9 @@ for (stev, stebz, stegr, stein, elty) in
40904090
resize!(iwork, liwork)
40914091
end
40924092
end
4093+
wm = min(n, m[])
40934094
Zm = min(Zn, m[])
4094-
resize!(w, m[]), reshape(resize!(Z, ldz * Zm), ldz, Zm)
4095+
resize!(w, wm), reshape(resize!(Z, ldz * Zm), ldz, Zm)
40954096
end
40964097

40974098
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)