Skip to content

Commit bc9f2f9

Browse files
committed
Fix the failing schur tests
1 parent 3db0f47 commit bc9f2f9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/lapack.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6211,6 +6211,8 @@ for (trexc, trsen, tgsen, elty) in
62116211
alphai = similar(T, $elty, n)
62126212
alphar = similar(T, $elty, n)
62136213
beta = similar(T, $elty, n)
6214+
pl = Ref{$elty}()
6215+
pr = Ref{$elty}()
62146216
lwork = BlasInt(-1)
62156217
work = Vector{$elty}(undef, 1)
62166218
liwork = BlasInt(-1)
@@ -6221,7 +6223,7 @@ for (trexc, trsen, tgsen, elty) in
62216223
$tgsen(0, 1, 1, select, n, S, lds, T,
62226224
ldt, alphar, alphai, beta,
62236225
Q, ldq, Z, ldz,
6224-
m, C_NULL, C_NULL, C_NULL,
6226+
m, pl, pr, C_NULL,
62256227
work, lwork, iwork, liwork, info)
62266228
chklapackerror(info[])
62276229
if i == 1 # only estimated optimal lwork, liwork
@@ -6337,6 +6339,8 @@ for (trexc, trsen, tgsen, elty, relty) in
63376339
m = sum(select)
63386340
alpha = similar(T, $elty, n)
63396341
beta = similar(T, $elty, n)
6342+
pl = Ref{$relty}()
6343+
pr = Ref{$relty}()
63406344
lwork = BlasInt(-1)
63416345
work = Vector{$elty}(undef, 1)
63426346
liwork = BlasInt(-1)
@@ -6348,7 +6352,7 @@ for (trexc, trsen, tgsen, elty, relty) in
63486352
n, S, lds, T,
63496353
ldt, alpha, beta,
63506354
Q, ldq, Z, ldz,
6351-
m, C_NULL, C_NULL, C_NULL,
6355+
m, pl, pr, C_NULL,
63526356
work, lwork, iwork, liwork, info)
63536357
chklapackerror(info[])
63546358
if i == 1 # only estimated optimal lwork, liwork

0 commit comments

Comments
 (0)