JuliaPhysics / Measurements.jl

Error propagation calculator and library for physical measurements. It supports real and complex numbers with uncertainty, arbitrary precision calculations, operations with arrays, and numerical integration.
https://juliaphysics.github.io/Measurements.jl/stable/
MIT License
486 stars 37 forks source link

Can't use unique with measurements #124

Closed rs7q5 closed 2 years ago

rs7q5 commented 2 years ago

Getting method error when trying to use unique with a vector of measurements

MethodError: no method matching decompose(::Measurement{Float64})

Could simply decompose it to check each field separately?

rs7q5 commented 2 years ago

Looks like I wasn't on the latest version of Measurements.jl