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 928cbf8 commit 34b71d5Copy full SHA for 34b71d5
test/cusolver/dense.jl
@@ -441,7 +441,7 @@ l_range = (1:l) .+ (l_sub_start -1)
441
Q, R = F
442
dQ, dR = d_F
443
@test collect(dQ*dR) ≈ A
444
- @test collect(dR * dQ') ≈ (R * Q')
+ @test collect(dR' * dQ') ≈ A'
445
@test det(d_F.Q) ≈ det(collect(d_F.Q * CuMatrix{elty}(I, size(d_F.Q)))) atol=tol*norm(A)
446
A_view = view(A, m_subrange, n_subrange)
447
F = qr(A_view)
@@ -450,7 +450,7 @@ l_range = (1:l) .+ (l_sub_start -1)
450
451
452
@test collect(dQ*dR) ≈ A_view
453
+ @test collect(dR' * dQ') ≈ A_view'
454
@test det(d_F.Q) ≈ det(collect(d_F.Q * CuMatrix{elty}(I, size(d_F.Q)))) atol=tol*norm(A_view)
455
456
A = rand(elty, m, n)
0 commit comments