From f7f7af6571a9beb7e3878da5cef60b7685e5ab0a Mon Sep 17 00:00:00 2001 From: ScottPJones Date: Tue, 16 May 2017 14:17:55 -0400 Subject: [PATCH 1/2] Fix deprecation warning on Julia v0.6 and later --- REQUIRE | 1 + src/DiffEqBiological.jl | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/REQUIRE b/REQUIRE index 7b1150a893..e5cb2fc497 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,3 +1,4 @@ julia 0.5 DiffEqJump DiffEqBase +Compat 0.17.0 diff --git a/src/DiffEqBiological.jl b/src/DiffEqBiological.jl index 51f4b20ba3..1e22dca550 100644 --- a/src/DiffEqBiological.jl +++ b/src/DiffEqBiological.jl @@ -4,7 +4,8 @@ module DiffEqBiological using DiffEqJump -abstract AbstractReaction +using Compat +@compat abstact type AbstractReaction end include("reactions.jl") include("problem.jl") From 5fefa0ed21bed95cb4b461b49bb93bd46e24a2dd Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Tue, 16 May 2017 14:16:24 -0700 Subject: [PATCH 2/2] Update DiffEqBiological.jl --- src/DiffEqBiological.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DiffEqBiological.jl b/src/DiffEqBiological.jl index 1e22dca550..48d9ece6f4 100644 --- a/src/DiffEqBiological.jl +++ b/src/DiffEqBiological.jl @@ -5,7 +5,7 @@ module DiffEqBiological using DiffEqJump using Compat -@compat abstact type AbstractReaction end +@compat abstract type AbstractReaction end include("reactions.jl") include("problem.jl")