Skip to content

Commit

Permalink
Fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
eliascarv committed Oct 28, 2024
1 parent 26cf1c7 commit 9bfbbaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crs/projected.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 9bfbbaf

Please sign in to comment.