Skip to content

Commit 54d00d9

Browse files
Merge pull request #4 from ScottPJones/spj/fixv06
Fix deprecation warning on Julia v0.6 and later
2 parents 1d3d845 + 5fefa0e commit 54d00d9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

REQUIRE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
julia 0.5
22
DiffEqJump
33
DiffEqBase
4+
Compat 0.17.0

src/DiffEqBiological.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ module DiffEqBiological
44

55
using DiffEqJump
66

7-
abstract AbstractReaction
7+
using Compat
8+
@compat abstract type AbstractReaction end
89

910
include("reactions.jl")
1011
include("problem.jl")

0 commit comments

Comments
 (0)