fixing deprecation warning

This commit is contained in:
Christina Lee 2017-06-28 11:42:16 -07:00
parent d9890498d1
commit 2f1c70e49f

View File

@ -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)