Merge pull request #955 from albi3ro/master

fixing deprecation warning
This commit is contained in:
Daniel Schwabeneder 2017-06-28 21:04:04 +02:00 committed by GitHub
commit f4f2f09d17

View File

@ -703,7 +703,7 @@ end
function error_coords(xorig, yorig, ebar) function error_coords(xorig, yorig, ebar)
# init empty x/y, and zip errors if passed Tuple{Vector,Vector} # 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 each point, create a line segment from the bottom to the top of the errorbar
for i = 1:max(length(xorig), length(yorig)) for i = 1:max(length(xorig), length(yorig))
xi = _cycle(xorig, i) xi = _cycle(xorig, i)