Skip to content

Commit

Permalink
Merge pull request JuliaLang#10074 from catawbasam/base_vestigial
Browse files Browse the repository at this point in the history
remove old cell {} related functions from base.jl
  • Loading branch information
ivarne committed Feb 4, 2015
2 parents f17ef9e + 13ee696 commit 4daf74b
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions base/base.jl
Original file line number Diff line number Diff line change
Expand Up @@ -184,23 +184,6 @@ function append_any(xs...)
out
end

# used by { } syntax
function cell_1d(xs::ANY...)
n = length(xs)
a = Array(Any,n)
for i=1:n
arrayset(a,xs[i],i)
end
a
end

function cell_2d(nr, nc, xs::ANY...)
a = Array(Any,nr,nc)
for i=1:(nr*nc)
arrayset(a,xs[i],i)
end
a
end

# simple Array{Any} operations needed for bootstrap
setindex!(A::Array{Any}, x::ANY, i::Real) = arrayset(A, x, to_index(i))
Expand Down

0 comments on commit 4daf74b

Please sign in to comment.