Skip to content

Commit 8151245

Browse files
authored
Adjust to AdjointFactorization (#73)
1 parent 090eab0 commit 8151245

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Test
22
import RecursiveFactorization
33
import LinearAlgebra
4-
using LinearAlgebra: norm, Adjoint
4+
using LinearAlgebra: norm, Adjoint, Transpose
55
using Random
66

77
Random.seed!(12)
@@ -14,7 +14,7 @@ function testlu(A, MF, BF)
1414
@test norm(MF.L * MF.U - A[MF.p, :], Inf) < 200sqrt(eps(real(one(float(first(A))))))
1515
nothing
1616
end
17-
testlu(A::Adjoint, MF::Adjoint, BF) = testlu(parent(A), parent(MF), BF)
17+
testlu(A::Union{Transpose, Adjoint}, MF, BF) = testlu(parent(A), parent(MF), BF)
1818

1919
@testset "Test LU factorization" begin for _p in (true, false),
2020
T in (Float64, Float32, ComplexF64, ComplexF32,

0 commit comments

Comments
 (0)