Skip to content

Commit

Permalink
Two SparseArrays fixes. (#31254)
Browse files Browse the repository at this point in the history
* Fix build warning about replacing docs for SparseMatrixCSCSymmHerm.

* Don't export SparseArrays.(unwrap|iswrsparse).
  • Loading branch information
fredrikekre authored Mar 6, 2019
1 parent 7ee9cf8 commit 5e95155
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions stdlib/SparseArrays/src/SparseArrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ export AbstractSparseArray, AbstractSparseMatrix, AbstractSparseVector,
issparse, nonzeros, nzrange, rowvals, sparse, sparsevec, spdiagm,
sprand, sprandn, spzeros, nnz, permute, findnz

export unwrap, iswrsparse

include("abstractsparse.jl")
include("sparsematrix.jl")
include("sparseconvert.jl")
Expand Down
9 changes: 0 additions & 9 deletions stdlib/SparseArrays/src/linalg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -677,15 +677,6 @@ end

## end of triangular

## symmetric/Hermitian wrappers of sparse matrices
"""
SparseMatrixCSCSymmHerm
`Symmetric` or `Hermitian` of a `SparseMatrixCSC` or `SparseMatrixCSCView`.
"""
const SparseMatrixCSCSymmHerm{Tv,Ti} = Union{Symmetric{Tv,<:SparseMatrixCSCUnion{Tv,Ti}},
Hermitian{Tv,<:SparseMatrixCSCUnion{Tv,Ti}}}

# y .= A * x
mul!(y::StridedVecOrMat, A::SparseMatrixCSCSymmHerm, x::StridedVecOrMat) = mul!(y,A,x,1,0)

Expand Down

0 comments on commit 5e95155

Please sign in to comment.