Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

fix Issue #1577 in src/SimpleGraphs/generators/randgraphs.jl #1578

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/SimpleGraphs/generators/randgraphs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ function _try_creation(n::T, k::Vector{T}, rng::AbstractRNG) where T <: Integer
return Set{SimpleEdge{T}}()
end

stubs = Vector{Int}()
stubs = Vector{T}()
for (e, ct) in potential_edges
append!(stubs, fill(e, ct))
end
Expand Down