From 9bfbbaff388fb628dc9800b4b8bf8f4c0ede460a Mon Sep 17 00:00:00 2001 From: Elias Carvalho Date: Mon, 28 Oct 2024 17:45:22 -0300 Subject: [PATCH] Fix code --- src/crs/projected.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crs/projected.jl b/src/crs/projected.jl index b76e00c..7f47a25 100644 --- a/src/crs/projected.jl +++ b/src/crs/projected.jl @@ -142,7 +142,7 @@ function Base.convert(::Type{C}, coords::LatLon{Datum}) where {Datum,C<:Projecte xₒ = numconvert(T, S.xₒ) yₒ = numconvert(T, S.yₒ) lonₒ = numconvert(T, S.lonₒ) - λ = ustrip(fixlon(deg2rad(coords.lon - lonₒ))) + λ = ustrip(deg2rad(fixlon(coords.lon - lonₒ))) ϕ = ustrip(deg2rad(coords.lat)) if !inbounds(C, λ, ϕ) throw(ArgumentError("coordinates outside of the projection domain"))