Skip to content

Commit

Permalink
Fix ntuple deprecation in examples/ directory
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Jun 4, 2015
1 parent ce90a6d commit 85e3fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ndgrid.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 85e3fe0

Please sign in to comment.