Skip to content

Commit 4b2126b

Browse files
committed
remove superfluous lines
1 parent 0d575ff commit 4b2126b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

stdlib/SparseArrays/src/sparsevector.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1818,15 +1818,13 @@ for isunittri in (true, false), islowertri in (true, false)
18181818
# build out-of-place left-division operations
18191819
# broad method where elements are Numbers
18201820
@eval function \(A::$tritype{<:TA,<:AbstractMatrix}, b::SparseVector{Tb}) where {TA<:Number,Tb<:Number}
1821-
# A = $(applyxform ? :(xformA.data) : :(xformA) )
18221821
TAb = $(isunittri ?
18231822
:(typeof(zero(TA)*zero(Tb) + zero(TA)*zero(Tb))) :
18241823
:(typeof((zero(TA)*zero(Tb) + zero(TA)*zero(Tb))/one(TA))) )
18251824
LinearAlgebra.ldiv!(convert(AbstractArray{TAb}, A), convert(Array{TAb}, b))
18261825
end
18271826
# fallback where elements are not Numbers
18281827
@eval function \(A::$tritype, b::SparseVector)
1829-
# A = $(applyxform ? :(xformA.parent) : :(xformA) )
18301828
LinearAlgebra.ldiv!(A, copy(b))
18311829
end
18321830

@@ -1865,7 +1863,7 @@ for isunittri in (true, false), islowertri in (true, false)
18651863

18661864
# the generic in-place left-division methods handle these cases, but
18671865
# we can achieve greater efficiency where the triangular matrix provides
1868-
# good view support. hence the StridedMatrix restriction.
1866+
# good view support, hence the StridedMatrix restriction.
18691867
@eval function ldiv!(xA::$xformtritype, b::SparseVector)
18701868
A = $( applyxform ? :(parent(parent(xA))) : :(parent(xA)) )
18711869
# If b has no nonzero entries, the result is necessarily zero and this call

0 commit comments

Comments
 (0)