Skip to content

vcat(::SVector, ::Number) should return an SVector #602

Closed
@dlfivefifty

Description

@dlfivefifty

I assume this behaviour is just an oversight:

julia> vcat(SVector(1), 2)
2-element Array{Int64,1}:
 1
 2

Shall I make a PR overriding vcat(and possibly hcat)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    fix-in-baseFix needs some work in Base

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions