Skip to content

hcat/vcat need to check the input for errors #183

@ViralBShah

Description

@ViralBShah

Output is incorrect size, with extra elements.

julia> [[1 2; 3 4] [5 6]]
2x4 Int64 Array
1 2 5 0
3 4 6 0

This should be an error, but gives a bizarre result.

julia> [[1 2; 3 4] [5 6 7]]
2x5 Int64 Array
1 2 5 7 0
3 4 6 0 0

Another example:

julia> [[1, 2, 3] 4]
3x2 Int64 Array
1 4
2 4
3 4

Metadata

Metadata

Assignees

Labels

bugIndicates an unexpected problem or unintended behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions