From 85e3fe0339e08d52c17193cca598d7018bca8de3 Mon Sep 17 00:00:00 2001 From: Tim Holy Date: Thu, 4 Jun 2015 16:54:23 -0500 Subject: [PATCH] Fix ntuple deprecation in examples/ directory --- examples/ndgrid.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ndgrid.jl b/examples/ndgrid.jl index 8ca97a3dc01fc..688a246b8b7ed 100644 --- a/examples/ndgrid.jl +++ b/examples/ndgrid.jl @@ -18,7 +18,7 @@ end function ndgrid{T}(vs::AbstractVector{T}...) n = length(vs) sz = map(length, vs) - out = ntuple(n, i->Array(T, sz)) + out = ntuple(i->Array(T, sz), n) s = 1 for i=1:n a = out[i]::Array