Skip to content

Show of Vector{Particles} #92

@mauro3

Description

@mauro3

The show method seems to to some rounding with particles in an array:

julia> [10000+i ± 0.5 for i=1:10:50]
5-element Array{Particles{Float64,2000},1}:
 10000.0 ± 0.5
 10000.0 ± 0.5
 10000.0 ± 0.5
 10000.0 ± 0.5
 10000.0 ± 0.5

julia> ans[1]
Particles{Float64,2000}
 10001.0 ± 0.5

Is this intentional? If so, then it should take into account the significant digits according to the uncertainty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions