Skip to content

Commit 98cd359

Browse files
committed
bugfix apparently introduced in PR122
1 parent 8ad5f76 commit 98cd359

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/GMT_utils.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ julia> write_paraview(Topo,"Topo_Alps")
6868
function import_topo(limits; file::String="@earth_relief_01m", maxattempts=5)
6969

7070
# Correct if negative values are given (longitude coordinates that are west)
71-
ind = limits[1:2] .< 0
72-
71+
ind = findall(limits[1:2] .< 0);
72+
7373
if (limits[1] < 0) && (limits[2] < 0)
7474
limits[ind] .= 360 .+ limits[ind]
7575
limits[1:2] = sort(limits[1:2])

0 commit comments

Comments
 (0)