Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
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