Skip to content

Segfault passing mixed types to FieldVector constructor #869

Open
@ali-beep

Description

@ali-beep

As of StaticArrays v1.0.1 and julia 1.5.3 I can cause a segmentation fault like this:

using StaticArrays

struct A{T}<:FieldVector{2,T}
       x::T
       y::T
end
A(1.,2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions