Skip to content

Commit 59ee493

Browse files
goggleStefanKarpinski
authored andcommitted
Fix typo for trans comparison in densemv (#32561)
1 parent 24efaa4 commit 59ee493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/SparseArrays/src/sparsevector.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1626,7 +1626,7 @@ function densemv(A::SparseMatrixCSC, x::AbstractSparseVector; trans::AbstractCha
16261626
xlen == length(x) || throw(DimensionMismatch())
16271627
T = promote_op(matprod, eltype(A), eltype(x))
16281628
y = Vector{T}(undef, ylen)
1629-
if trans == 'N' || trans == 'N'
1629+
if trans == 'N' || trans == 'n'
16301630
mul!(y, A, x)
16311631
elseif trans == 'T' || trans == 't'
16321632
mul!(y, transpose(A), x)

0 commit comments

Comments
 (0)