Skip to content

Commit 56b6a07

Browse files
committed
lapack.sygvd!(): fix rwork type
1 parent 3ddf0a2 commit 56b6a07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/linalg/lapack.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5040,7 +5040,7 @@ for (syev, syevr, sygvd, elty, relty) in
50405040
lwork = BlasInt(-1)
50415041
iwork = Vector{BlasInt}(1)
50425042
liwork = BlasInt(-1)
5043-
rwork = Array{$relty,0}()
5043+
rwork = Vector{$relty}(1)
50445044
lrwork = BlasInt(-1)
50455045
info = Ref{BlasInt}()
50465046
for i = 1:2 # first call returns lwork as work[1], lrwork as rwork[1] and liwork as iwork[1]

0 commit comments

Comments
 (0)