File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -443,14 +443,14 @@ l_range = (1:l) .+ (l_sub_start -1)
443
443
@test collect (dQ* dR) ≈ A
444
444
@test collect (dR' * dQ' ) ≈ A'
445
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 )
446
+ A_view = view (A, n_subrange, m_subrange )
447
447
F = qr (A_view)
448
- d_A_view = view (d_A, m_subrange, n_subrange )
448
+ d_A_view = view (d_A, n_subrange, m_subrange )
449
449
d_F = qr (d_A_view)
450
450
Q, R = F
451
451
dQ, dR = d_F
452
452
@test collect (dQ* dR) ≈ A_view
453
- # @test collect(dR' * dQ') ≈ A_view' #TO DO: resolve this bug
453
+ @test collect (dR' * dQ' ) ≈ A_view'
454
454
@test det (d_F. Q) ≈ det (collect (d_F. Q * CuMatrix {elty} (I, size (d_F. Q)))) atol= tol* norm (A_view)
455
455
456
456
A = rand (elty, m, n)
You can’t perform that action at this time.
0 commit comments