Skip to content

Typed hvcat doesn't handle UniformScaling #819

Open
@pablosanjose

Description

@pablosanjose

While Float64[1 0; 0 1], Float64[matrix; matrix] and [1I 0I; 0I matrix] (with a matrix such as matrix = [1 2; 3 4]) all work fine, the following errors.

julia> Float64[1I 0I; 0I matrix]
ERROR: MethodError: Cannot `convert` an object of type UniformScaling{Int64} to an object of type Float64

I'm assuming this is unintended?

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrays[a, r, r, a, y, s]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions