added FixedSizeArrays requirement
This commit is contained in:
parent
73bd3fa60c
commit
335b3802b8
1
REQUIRE
1
REQUIRE
@ -4,3 +4,4 @@ Colors
|
|||||||
Reexport
|
Reexport
|
||||||
Compat
|
Compat
|
||||||
Requires
|
Requires
|
||||||
|
FixedSizeArrays
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|
||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user