Skip to content

Commit

Permalink
Fix sparse Base.showarray the correct way
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarne committed Mar 7, 2015
1 parent 46ad913 commit dc313ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion base/exports.jl
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,6 @@ export
searchindex,
show,
showall,
showarray,
showcompact,
showerror,
split,
Expand Down
2 changes: 1 addition & 1 deletion base/sparse/sparsematrix.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ nonzeros(S::SparseMatrixCSC) = S.nzval
rowvals(S::SparseMatrixCSC) = S.rowval
nzrange(S::SparseMatrixCSC, col::Integer) = S.colptr[col]:(S.colptr[col+1]-1)

function showarray(io::IO, S::SparseMatrixCSC;
function Base.showarray(io::IO, S::SparseMatrixCSC;
header::Bool=true, limit::Bool=Base._limit_output,
rows = Base.tty_size()[1], repr=false)
# TODO: repr?
Expand Down

0 comments on commit dc313ab

Please sign in to comment.