@@ -884,22 +884,22 @@ end
884
884
a = randn (3 )
885
885
A = randn (1 ,4 )
886
886
887
- @test Fill (2 ,3 )* A == Vector (Fill (2 ,3 ))* A
888
- @test Fill (2 ,3 ,1 )* A == Matrix (Fill (2 ,3 ,1 ))* A
889
- @test Fill (2 ,3 ,3 )* a == Matrix (Fill (2 ,3 ,3 ))* a
890
- @test Ones (3 )* A == Vector (Ones (3 ))* A
891
- @test Ones (3 ,1 )* A == Matrix (Ones (3 ,1 ))* A
892
- @test Ones (3 ,3 )* a == Matrix (Ones (3 ,3 ))* a
887
+ @test Fill (2 ,3 )* A ≈ Vector (Fill (2 ,3 ))* A
888
+ @test Fill (2 ,3 ,1 )* A ≈ Matrix (Fill (2 ,3 ,1 ))* A
889
+ @test Fill (2 ,3 ,3 )* a ≈ Matrix (Fill (2 ,3 ,3 ))* a
890
+ @test Ones (3 )* A ≈ Vector (Ones (3 ))* A
891
+ @test Ones (3 ,1 )* A ≈ Matrix (Ones (3 ,1 ))* A
892
+ @test Ones (3 ,3 )* a ≈ Matrix (Ones (3 ,3 ))* a
893
893
@test Zeros (3 )* A ≡ Zeros (3 ,4 )
894
894
@test Zeros (3 ,1 )* A == Zeros (3 ,4 )
895
895
@test Zeros (3 ,3 )* a == Zeros (3 )
896
896
897
- @test A* Fill (2 ,4 ) == A* Vector (Fill (2 ,4 ))
898
- @test A* Fill (2 ,4 ,1 ) == A* Matrix (Fill (2 ,4 ,1 ))
899
- @test a* Fill (2 ,1 ,3 ) == a* Matrix (Fill (2 ,1 ,3 ))
900
- @test A* Ones (4 ) == A* Vector (Ones (4 ))
901
- @test A* Ones (4 ,1 ) == A* Matrix (Ones (4 ,1 ))
902
- @test a* Ones (1 ,3 ) == a* Matrix (Ones (1 ,3 ))
897
+ @test A* Fill (2 ,4 ) ≈ A* Vector (Fill (2 ,4 ))
898
+ @test A* Fill (2 ,4 ,1 ) ≈ A* Matrix (Fill (2 ,4 ,1 ))
899
+ @test a* Fill (2 ,1 ,3 ) ≈ a* Matrix (Fill (2 ,1 ,3 ))
900
+ @test A* Ones (4 ) ≈ A* Vector (Ones (4 ))
901
+ @test A* Ones (4 ,1 ) ≈ A* Matrix (Ones (4 ,1 ))
902
+ @test a* Ones (1 ,3 ) ≈ a* Matrix (Ones (1 ,3 ))
903
903
@test A* Zeros (4 ) ≡ Zeros (1 )
904
904
@test A* Zeros (4 ,1 ) ≡ Zeros (1 ,1 )
905
905
@test a* Zeros (1 ,3 ) ≡ Zeros (3 ,3 )
0 commit comments