Skip to content

Commit

Permalink
relax some multiplication/division tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarrasch authored Feb 19, 2020
1 parent ccb8c41 commit 6cc47a7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions stdlib/LinearAlgebra/test/uniformscaling.jl
Original file line number Diff line number Diff line change
Expand Up @@ -184,14 +184,14 @@ let
@testset "binary ops with vectors" begin
v = complex.(randn(3), randn(3))
# As shown in #20423@GitHub, vector acts like x1 matrix when participating in linear algebra
@test v * J == v * λ
@test v' * J == v' * λ
@test J * v == λ * v
@test J * v' == λ * v'
@test v / J == v / λ
@test v' / J == v' / λ
@test J \ v == λ \ v
@test J \ v' == λ \ v'
@test v * J v * λ
@test v' * J v' * λ
@test J * v λ * v
@test J * v' λ * v'
@test v / J v / λ
@test v' / J v' / λ
@test J \ v λ \ v
@test J \ v' λ \ v'
end

@testset "binary ops with matrices" begin
Expand Down

0 comments on commit 6cc47a7

Please sign in to comment.