We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
julia> @code_warntype sprand(5,5,0.1) Variables: #self#::Base.SparseArrays.#sprand m::Int64 n::Int64 density::Float64 Body: begin # sparse/sparsematrix.jl, line 927: return (Base.SparseArrays.sprand)(Base.SparseArrays.GLOBAL_RNG,m::Int64,n::Int64,density::Float64)::Union{SparseMatrixCSC{Float64,Int64},SparseVector{Float64,Int64}} end::Union{SparseMatrixCSC{Float64,Int64},SparseVector{Float64,Int64}}
The text was updated successfully, but these errors were encountered:
Problematic line:
julia/base/sparse/sparsematrix.jl
Line 910 in c8b9fe9
julia> sprand(Base.Random.GLOBAL_RNG,1,1,0.99,rand,Float64) Sparse vector of length 1, with 1 Float64 nonzero entries: [1] = 0.125714
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The text was updated successfully, but these errors were encountered: