@@ -59,18 +59,18 @@ bimg = randn(n,2)/2
5959 @test full (copy (lqa)) ≈ a
6060 end
6161 @testset " Binary ops" begin
62- @test_approx_eq_eps a* (lqa\ b) b 3000 ε
63- @test_approx_eq_eps lqa* b qra[:Q ]* qra[:R ]* b 3000 ε
64- @test_approx_eq_eps A_mul_Bc (eye (eltyb,size (q. factors,2 )),q)* full (q,thin= false ) eye (n) 5000 ε
62+ @test a* (lqa\ b) ≈ b atol = 3000 ε
63+ @test lqa* b ≈ qra[:Q ]* qra[:R ]* b atol = 3000 ε
64+ @test A_mul_Bc (eye (eltyb,size (q. factors,2 )),q)* full (q,thin= false ) ≈ eye (n) atol = 5000 ε
6565 if eltya != Int
6666 @test eye (eltyb,n)* q ≈ convert (AbstractMatrix{tab},q)
6767 end
68- @test_approx_eq_eps q* b full (q,thin= false )* b 100 ε
69- @test_approx_eq_eps q.' * b full (q,thin= false ).' * b 100 ε
70- @test_approx_eq_eps q' * b full (q,thin= false )' * b 100 ε
71- @test_approx_eq_eps a* q a* full (q,thin= false ) 100 ε
72- @test_approx_eq_eps a* q.' a* full (q,thin= false ).' 100 ε
73- @test_approx_eq_eps a* q' a* full (q,thin= false )' 100 ε
68+ @test q* b ≈ full (q,thin= false )* b atol = 100 ε
69+ @test q.' * b ≈ full (q,thin= false ).' * b atol = 100 ε
70+ @test q' * b ≈ full (q,thin= false )' * b atol = 100 ε
71+ @test a* q ≈ a* full (q,thin= false ) atol = 100 ε
72+ @test a* q.' ≈ a* full (q,thin= false ).' atol = 100 ε
73+ @test a* q' ≈ a* full (q,thin= false )' atol = 100 ε
7474 @test_throws DimensionMismatch q* b[1 : n1 + 1 ]
7575 @test_throws DimensionMismatch Ac_mul_B (q,ones (eltya,n+ 2 ,n+ 2 ))
7676 @test_throws DimensionMismatch ones (eltyb,n+ 2 ,n+ 2 )* q
0 commit comments