@@ -615,7 +615,7 @@ Random.seed!(0)
615615 Q = qr (randn (5 ,5 )). Q
616616 b = randn (5 )
617617 B = randn (5 ,5 )
618- @test Q* 1.0 == ArrayLayouts. lmul! (Q, Matrix {Float64} (I, 5 , 5 ))
618+ @test Q* 1.0 ≈ ArrayLayouts. lmul! (Q, Matrix {Float64} (I, 5 , 5 ))
619619 @test Q* b == ArrayLayouts. lmul! (Q, copy (b)) == mul (Q,b)
620620 @test Q* B == ArrayLayouts. lmul! (Q, copy (B)) == mul (Q,B)
621621 @test B* Q == ArrayLayouts. rmul! (copy (B), Q) == mul (B,Q)
@@ -634,7 +634,7 @@ Random.seed!(0)
634634 Q = qr (randn (7 ,5 )). Q
635635 b = randn (5 )
636636 B = randn (5 ,5 )
637- @test Q* 1.0 == ArrayLayouts. lmul! (Q, Matrix {Float64} (I, 7 , 7 ))
637+ @test Q* 1.0 ≈ ArrayLayouts. lmul! (Q, Matrix {Float64} (I, 7 , 7 ))
638638 @test Q* b == mul (Q,b)
639639 @test Q* B == mul (Q,B)
640640 @test 1.0 * Q ≈ ArrayLayouts. rmul! (Matrix {Float64} (I, 7 , 7 ), Q)
@@ -681,7 +681,7 @@ Random.seed!(0)
681681 c = randn (5 ) + im* randn (5 )
682682 d = randn (5 ) + im* randn (5 )
683683
684- @test ArrayLayouts. dot (a,b) == ArrayLayouts. dotu (a,b) == mul (a' ,b)
684+ @test ArrayLayouts. dot (a,b) ≈ ArrayLayouts. dotu (a,b) ≈ mul (a' ,b)
685685 @test ArrayLayouts. dot (a,b) ≈ dot (a,b)
686686 @test eltype (Dot (a,1 : 5 )) == Float64
687687
0 commit comments