Skip to content

Commit

Permalink
Merge pull request JuliaLang#37837 from JuliaLang/ksh/svtest
Browse files Browse the repository at this point in the history
Remove extraneous error check
  • Loading branch information
kshyatt committed Oct 3, 2020
2 parents 36effbe + 8cfa3ca commit defde49
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions stdlib/SparseArrays/src/sparsevector.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1674,10 +1674,8 @@ function densemv(A::AbstractSparseMatrixCSC, x::AbstractSparseVector; trans::Abs
mul!(y, A, x)
elseif trans == 'T' || trans == 't'
mul!(y, transpose(A), x)
elseif trans == 'C' || trans == 'c'
else # trans == 'C' || trans == 'c'
mul!(y, adjoint(A), x)
else
throw(ArgumentError("Invalid trans character $trans"))
end
y
end
Expand Down

0 comments on commit defde49

Please sign in to comment.