From ec517238c4513be97807ffd7c1af6b538f1c6b6b Mon Sep 17 00:00:00 2001 From: Alexander Barth Date: Wed, 25 Mar 2020 10:57:53 +0100 Subject: [PATCH] remove compat --- Project.toml | 2 -- src/PhysOcean.jl | 3 --- src/WorldOceanDatabase.jl | 1 - src/floodfill!.jl | 2 +- src/geostrophy.jl | 2 +- 5 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Project.toml b/Project.toml index 818e8a3..ce0885a 100644 --- a/Project.toml +++ b/Project.toml @@ -8,7 +8,6 @@ version = "0.6.1" [deps] AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c" -Compat = "34da2185-b29b-5c13-b0c7-acf172513d20" Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab" Glob = "c27321d9-0574-5035-807b-f59d2c89b15c" @@ -21,7 +20,6 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" [compat] AbstractTrees = "0.2, 0.3" -Compat = "2, 3" Glob = "1" Gumbo = "0.5, 0.7" HTTP = "0.8" diff --git a/src/PhysOcean.jl b/src/PhysOcean.jl index 22ac9b5..6aef217 100644 --- a/src/PhysOcean.jl +++ b/src/PhysOcean.jl @@ -7,9 +7,6 @@ module PhysOcean -using Compat -using Compat: CartesianIndices - using Dates using Statistics diff --git a/src/WorldOceanDatabase.jl b/src/WorldOceanDatabase.jl index c65e9bf..401c89a 100644 --- a/src/WorldOceanDatabase.jl +++ b/src/WorldOceanDatabase.jl @@ -8,7 +8,6 @@ import Glob using Missings using Printf using Dates -using Compat import PhysOcean: addprefix! """ diff --git a/src/floodfill!.jl b/src/floodfill!.jl index bf54608..370caf5 100644 --- a/src/floodfill!.jl +++ b/src/floodfill!.jl @@ -25,7 +25,7 @@ function floodfill!(A::AbstractArray,B::AbstractArray,fillvalue;MAXITER=()) cw=1 iter=0 - RI = Compat.CartesianIndices(size(A)) + RI = CartesianIndices(size(A)) I1, Iend = first(RI), last(RI) needtocontinue=true while needtocontinue diff --git a/src/geostrophy.jl b/src/geostrophy.jl index c95cbfc..35528f3 100644 --- a/src/geostrophy.jl +++ b/src/geostrophy.jl @@ -63,7 +63,7 @@ function myfilter3(A::AbstractArray,fillvalue,isfixed,ntimes=1) B=A end - RI = Compat.CartesianIndices(size(A)) + RI = CartesianIndices(size(A)) I1, Iend = first(RI), last(RI) for nn=1:ntimes