JuliaPhysics / JuliaPhysics/DynamicQuantities.jl

Meshes.jl test failure

Open
#118 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
155
Forks
32
PR merge metrics
No merged PRs in 30d

Description

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

```julia
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
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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.