Skip to content

Commit

Permalink
Replace RowVector{...}(shape...)-like calls everywhere (base,test,std…
Browse files Browse the repository at this point in the history
…lib,doc).
  • Loading branch information
Sacha0 committed Nov 28, 2017
1 parent 90aea4a commit fd2b25a
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 @@ -6,10 +6,10 @@

@test RowVector(v) == [1 2 3]
@test RowVector{Int}(v) == [1 2 3]
@test size(RowVector{Int}(3)) === (1,3)
@test size(RowVector{Int}(1,3)) === (1,3)
@test size(RowVector{Int}((3,))) === (1,3)
@test size(RowVector{Int}((1,3))) === (1,3)
@test size(RowVector{Int}(uninitialized, 3)) === (1,3)
@test size(RowVector{Int}(uninitialized, 1,3)) === (1,3)
@test size(RowVector{Int}(uninitialized, (3,))) === (1,3)
@test size(RowVector{Int}(uninitialized, (1,3))) === (1,3)
@test_throws ErrorException RowVector{Float64, Vector{Int}}(v)

@test (v.')::RowVector == [1 2 3]
Expand Down

0 comments on commit fd2b25a

Please sign in to comment.