Skip to content

Commit

Permalink
remove unnecessary inequality change
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub committed Oct 10, 2023
1 parent 4217641 commit 12a1c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparsevector.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@ function show(io::IO, ::MIME"text/plain", x::AbstractSparseVector)
xnnz = length(nzval)
print(io, length(x), "-element ", typeof(x), " with ", xnnz,
" stored ", xnnz == 1 ? "entry" : "entries")
if xnnz > 0
if xnnz != 0
println(io, ":")
end
ioctxt = IOContext(io, :typeinfo => eltype(x))
Expand Down

0 comments on commit 12a1c30

Please sign in to comment.