File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 11julia 0.5
2- Compat 0.17 .0
2+ Compat 0.18 .0
33DataStructures 0.5.0
44SpecialFunctions 0.1.0
Original file line number Diff line number Diff line change 1010# covariant type notation, i.e. AbstractVector{<:Real}
1111#
1212
13- typealias RealArray{T<: Real ,N} AbstractArray{T,N}
14- typealias RealVector{T<: Real } AbstractArray{T,1 }
15- typealias RealMatrix{T<: Real } AbstractArray{T,2 }
13+ @compat RealArray{T<: Real ,N} = AbstractArray{T,N}
14+ @compat RealVector{T<: Real } = AbstractArray{T,1 }
15+ @compat RealMatrix{T<: Real } = AbstractArray{T,2 }
1616
17- typealias IntegerArray{T<: Integer ,N} AbstractArray{T,N}
18- typealias IntegerVector{T<: Integer } AbstractArray{T,1 }
19- typealias IntegerMatrix{T<: Integer } AbstractArray{T,2 }
17+ @compat IntegerArray{T<: Integer ,N} = AbstractArray{T,N}
18+ @compat IntegerVector{T<: Integer } = AbstractArray{T,1 }
19+ @compat IntegerMatrix{T<: Integer } = AbstractArray{T,2 }
2020
21- @compat typealias RealFP Union{Float32, Float64}
21+ @compat const RealFP = Union{Float32, Float64}
2222
2323# # conversion from real to fp types
2424
Original file line number Diff line number Diff line change 66#
77# ################################################
88
9- typealias IntUnitRange{T<: Integer } UnitRange{T}
9+ @compat IntUnitRange{T<: Integer } = UnitRange{T}
1010
1111# ### functions for counting a single list of integers (1D)
1212"""
You can’t perform that action at this time.
0 commit comments