Skip to content

Commit

Permalink
Merge pull request #25 from etienneINSA/port_1578
Browse files Browse the repository at this point in the history
[Port] fix Issue #1577 in src/SimpleGraphs/generators/randgraphs.jl
  • Loading branch information
ViralBShah committed Nov 7, 2021
2 parents c3aad08 + 2f95f06 commit 2d42464
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 2d42464

Please sign in to comment.