JuliaPhysics / JuliaPhysics/Measurements.jl
Broadcasting weirdness
- Dominant language
- Julia
- Stars
- 536
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
Hi, thanks for this great package!
I'm seeing some strange behavior with broadcasting. It's easy enough to work around, but still seems worth noting:
```julia
julia> (zeros(3) .± 1) .± 2
3-element Array{Measurement{Measurement{Float64}},1}:
0.0 ± 1.0 ± 2.0 ± 0.0
0.0 ± 1.0 ± 2.0 ± 0.0
0.0 ± 1.0 ± 2.0 ± 0.0
```
Contributor guide
No contributing guide indexed for this repository
Research direction
No source files or tests are named. Reproduce the Julia expression `(zeros(3) .± 1) .± 2` and inspect the package's broadcasting behavior; completion would require resolving the reported nested-measurement result, with the expected output to be established from the issue discussion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100