Skip to content

Commit

Permalink
Fix tests from change in JuliaLang#20423
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Ferris committed Feb 8, 2017
1 parent ced2ca2 commit fc962c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/linalg/rowvector.jl
Original file line number Diff line number Diff line change
Expand Up @@ -215,19 +215,19 @@ end
@test (ut*rv.')::Vector == [2,6,12]

@test (ut.'*rv.')::Vector == [2,6,12]
@test_throws MethodError rv.'*ut.'
@test_throws DimensionMismatch rv.'*ut.'

@test_throws DimensionMismatch ut.'*rv
@test_throws MethodError rv.'*ut
@test_throws DimensionMismatch rv.'*ut

@test (rv*ut')::RowVector == [2 6 12]
@test (ut*rv')::Vector == [2,6,12]

@test_throws MethodError rv'*ut'
@test_throws DimensionMismatch rv'*ut'
@test (ut'*rv')::Vector == [2,6,12]

@test_throws DimensionMismatch ut'*rv
@test_throws MethodError rv'*ut
@test_throws DimensionMismatch rv'*ut

@test (rv/ut)::RowVector [2/1 3/2 4/3]
@test (rv/ut.')::RowVector [2/1 3/2 4/3]
Expand Down

0 comments on commit fc962c5

Please sign in to comment.