JuliaPhysics / JuliaPhysics/Measurements.jl

Broadcasting weirdness

Open
#71 0 comments 1 reaction 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.