Skip to content

Commit 72c7cac

Browse files
authored
Explicitly declare type constructor imports (#598)
These would otherwise give a warning after JuliaLang/julia#57311, but are a good change even independently.
1 parent ff083ce commit 72c7cac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SparseArrays.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ using LinearAlgebra: AdjOrTrans, AdjointFactorization, TransposeFactorization, m
1515

1616

1717
import Base: +, -, *, \, /, ==, zero
18+
import Base: Matrix, Vector
1819
import LinearAlgebra: mul!, ldiv!, rdiv!, cholesky, adjoint!, diag, eigen, dot,
1920
issymmetric, istril, istriu, lu, tr, transpose!, tril!, triu!, isbanded,
2021
cond, diagm, factorize, ishermitian, norm, opnorm, lmul!, rmul!, tril, triu,

0 commit comments

Comments
 (0)