Closed
Description
The structures for the coordinate types, like Polar
implicitly assume that the type for angles is the same as the type for the radius.
CoordinateTransformations.jl/src/coordinatesystems.jl
Lines 7 to 10 in 383c023
If an additional type parameter would be added, I think it could make CoordinateTransformations.jl and Unitful.jl compatible,
struct Polar{T,A}
r::T
θ::A
end
If you are interested, I can try this in a PR.
Metadata
Metadata
Assignees
Labels
No labels