Skip to content

Commit 6b686c0

Browse files
yuyichaoararslan
authored andcommitted
Fix 0.6 typealias depwarn (#22)
1 parent b70b52b commit 6b686c0

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

REQUIRE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
julia 0.5
2-
Compat 0.9.1
2+
Compat 0.18.0

src/SpecialFunctions.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ __precompile__()
22

33
module SpecialFunctions
44

5+
using Compat
6+
57
if VERSION >= v"0.6.0-dev.2767"
68
if isdefined(Base, :airyai)
79
import Base: airyai, airyaix, airyaiprime, airyaiprimex,

src/gamma.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
using Base.MPFR: ROUNDING_MODE, big_ln2
44

5-
typealias ComplexOrReal{T} Union{T,Complex{T}}
5+
@compat ComplexOrReal{T} = Union{T,Complex{T}}
66

77
# Bernoulli numbers B_{2k}, using tabulated numerators and denominators from
88
# the online encyclopedia of integer sequences. (They actually have data

0 commit comments

Comments
 (0)