diff --git a/src/recipes.jl b/src/recipes.jl index ce3533eb..f5cb9b73 100644 --- a/src/recipes.jl +++ b/src/recipes.jl @@ -703,7 +703,7 @@ end function error_coords(xorig, yorig, ebar) # init empty x/y, and zip errors if passed Tuple{Vector,Vector} - x, y = Array(float_extended_type(xorig), 0), Array(Float64, 0) + x, y = Array{float_extended_type(xorig)}(0), Array{Float64}(0) # for each point, create a line segment from the bottom to the top of the errorbar for i = 1:max(length(xorig), length(yorig)) xi = _cycle(xorig, i)