We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ad5f76 commit 98cd359Copy full SHA for 98cd359
ext/GMT_utils.jl
@@ -68,8 +68,8 @@ julia> write_paraview(Topo,"Topo_Alps")
68
function import_topo(limits; file::String="@earth_relief_01m", maxattempts=5)
69
70
# Correct if negative values are given (longitude coordinates that are west)
71
- ind = limits[1:2] .< 0
72
-
+ ind = findall(limits[1:2] .< 0);
+
73
if (limits[1] < 0) && (limits[2] < 0)
74
limits[ind] .= 360 .+ limits[ind]
75
limits[1:2] = sort(limits[1:2])
0 commit comments