diff --git a/test/runtests.jl b/test/runtests.jl index 0a84bd4..0698ba8 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -28,7 +28,7 @@ end @test FNC.lsqrfact(A,b) ≈ A\b Q,R = qr(A) QQ,RR = FNC.qrfact(A) - @test Q ≈ QQ + @test Matrix(Q) ≈ QQ @test R ≈ RR[1:3,:] end @@ -258,4 +258,4 @@ end u = FNC.elliptic(pde,g,30,[0,2.5],24,[0,1]); @test u(1.25,0.5) ≈ 1.7236921361 rtol = 1e-6 @test u(1,0) ≈ 1 rtol = 1e-6 -end \ No newline at end of file +end