Skip to content

Commit

Permalink
bugfix apparently introduced in PR122
Browse files Browse the repository at this point in the history
  • Loading branch information
boriskaus committed Oct 25, 2024
1 parent 8ad5f76 commit 98cd359
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/GMT_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ julia> write_paraview(Topo,"Topo_Alps")
function import_topo(limits; file::String="@earth_relief_01m", maxattempts=5)

# Correct if negative values are given (longitude coordinates that are west)
ind = limits[1:2] .< 0
ind = findall(limits[1:2] .< 0);

if (limits[1] < 0) && (limits[2] < 0)
limits[ind] .= 360 .+ limits[ind]
limits[1:2] = sort(limits[1:2])
Expand Down

0 comments on commit 98cd359

Please sign in to comment.