added FixedSizeArrays requirement

This commit is contained in:
Thomas Breloff 2016-03-02 22:48:27 -05:00
parent 73bd3fa60c
commit 335b3802b8
4 changed files with 6 additions and 4 deletions

View File

@ -4,3 +4,4 @@ Colors
Reexport Reexport
Compat Compat
Requires Requires
FixedSizeArrays

View File

@ -7,6 +7,7 @@ using Compat
using Reexport using Reexport
@reexport using Colors @reexport using Colors
using Requires using Requires
using FixedSizeArrays
export export
Plot, Plot,

View File

@ -244,7 +244,7 @@ type OHLC{T<:Real}
end end
@require FixedSizeArrays begin # @require FixedSizeArrays begin
export export
P2, P2,
@ -309,4 +309,4 @@ end
BezierCurve([p, upper_control, inside_control_points..., lower_control, q]) BezierCurve([p, upper_control, inside_control_points..., lower_control, q])
end end
end # end

View File

@ -483,7 +483,7 @@ end
# -------------------------------------------------------------------- # --------------------------------------------------------------------
@require FixedSizeArrays begin # @require FixedSizeArrays begin
unzip{T}(x::AVec{FixedSizeArrays.Vec{2,T}}) = T[xi[1] for xi in x], T[xi[2] for xi in x] unzip{T}(x::AVec{FixedSizeArrays.Vec{2,T}}) = T[xi[1] for xi in x], T[xi[2] for xi in x]
unzip{T}(x::FixedSizeArrays.Vec{2,T}) = T[x[1]], T[x[2]] unzip{T}(x::FixedSizeArrays.Vec{2,T}) = T[x[1]], T[x[2]]
@ -496,7 +496,7 @@ end
createKWargsList(plt, [xy[1]], [xy[2]]; kw...) createKWargsList(plt, [xy[1]], [xy[2]]; kw...)
end end
end # end
# -------------------------------------------------------------------- # --------------------------------------------------------------------