Skip to content

Meshes.jl test failure #118

Open
Open
@MilesCranmer

Description

@MilesCranmer

Not sure what this error is from... @mikeingold any idea?

julia> using DynamicQuantities, Meshes

julia> v = Meshes.Vec(1.0u"m/s", 2.0u"m/s", 3.0u"m/s")
ERROR: StackOverflowError:

This worked fine like a couple of weeks ago (included in test/test_meshes.jl). And DynamicQuantities.jl doesn't implement any special code for Meshes.jl.

If I pass a tuple instead it gives me more info:

julia> v = Meshes.Vec((1.0u"m/s", 2.0u"m/s", 3.0u"m/s"))
ERROR: StackOverflowError:
Stacktrace:
 [1] ntuple
   @ ./ntuple.jl:50 [inlined]
 [2] copy
   @ ./broadcast.jl:1097 [inlined]
 [3] materialize
   @ ./broadcast.jl:867 [inlined]
 [4] Vec(coords::Tuple{Quantity{Float64, Dimensions{…}}, Quantity{Float64, Dimensions{…}}, Quantity{Float64, Dimensions{…}}}) (repeats 58052 times)
   @ Meshes ~/.julia/packages/Meshes/BNwtP/src/vectors.jl:62
Some type information was truncated. Use `show(err)` to see complete types.

@juliohm @eliascarv do you know why this might be? Are there any breaking changes recently that might have changed this syntax?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions