Skip to content

Commit 2ec7168

Browse files
yuyichaojrevels
authored andcommitted
Fix 0.6 typealias depwarn (#103)
1 parent 56c4902 commit 2ec7168

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Calculus.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module Calculus
2424
# abstract type GradientEstimator end
2525
# abstract type HessianEstimator end
2626

27-
# typealias NonDifferentiableFunction Function
27+
# const NonDifferentiableFunction = Function
2828
# type DifferentiableFunction
2929
# f::Function
3030
# g::Function

src/symbolic.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import Base.show, Base.(==)
1414

1515
Compat.@compat abstract type Symbolic end
1616
Compat.@compat abstract type AbstractVariable <: Symbolic end
17-
Compat.@compat typealias SymbolicVariable Union{Symbol, AbstractVariable}
17+
const SymbolicVariable = Union{Symbol, AbstractVariable}
1818

1919

2020
#################################################################

0 commit comments

Comments
 (0)