From 335b3802b8ccfbeefaa497a4cf6d112f0365bca6 Mon Sep 17 00:00:00 2001 From: Thomas Breloff Date: Wed, 2 Mar 2016 22:48:27 -0500 Subject: [PATCH] added FixedSizeArrays requirement --- REQUIRE | 1 + src/Plots.jl | 1 + src/components.jl | 4 ++-- src/plot.jl | 4 ++-- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/REQUIRE b/REQUIRE index 92655edd..126413bb 100644 --- a/REQUIRE +++ b/REQUIRE @@ -4,3 +4,4 @@ Colors Reexport Compat Requires +FixedSizeArrays diff --git a/src/Plots.jl b/src/Plots.jl index 313ff267..a24a2437 100644 --- a/src/Plots.jl +++ b/src/Plots.jl @@ -7,6 +7,7 @@ using Compat using Reexport @reexport using Colors using Requires +using FixedSizeArrays export Plot, diff --git a/src/components.jl b/src/components.jl index 2c65f26d..3cc2e7a9 100644 --- a/src/components.jl +++ b/src/components.jl @@ -244,7 +244,7 @@ type OHLC{T<:Real} end -@require FixedSizeArrays begin +# @require FixedSizeArrays begin export P2, @@ -309,4 +309,4 @@ end BezierCurve([p, upper_control, inside_control_points..., lower_control, q]) end -end +# end diff --git a/src/plot.jl b/src/plot.jl index 5a2dccbe..72d6f49e 100644 --- a/src/plot.jl +++ b/src/plot.jl @@ -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::FixedSizeArrays.Vec{2,T}) = T[x[1]], T[x[2]] @@ -496,7 +496,7 @@ end createKWargsList(plt, [xy[1]], [xy[2]]; kw...) end -end +# end # --------------------------------------------------------------------