Skip to content

Commit 8d4f417

Browse files
InterdisciplinaryPhysicsTeampitmonticoneClaudMor
committed
Update layer.jl
Co-Authored-By: Pietro Monticone <38562595+pitmonticone@users.noreply.github.com> Co-Authored-By: Claudio Moroni <43729990+ClaudMor@users.noreply.github.com>
1 parent 438dedc commit 8d4f417

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/subgraphs/layer.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,15 +189,15 @@ Return a random `Layer`.
189189
"""
190190
function Layer(
191191
name::Symbol,
192-
vertices::Vector{Union{V,N}},#Union{V, N},
192+
vertices::Vector{Union{V,N}},
193193
ne::Int64,
194194
null_graph::G,
195195
weighttype::Type{U};
196196
default_vertex_metadata::Function=mv -> NamedTuple(),
197197
default_edge_weight::Function=(src, dst) -> nothing,
198198
default_edge_metadata::Function=(src, dst) -> NamedTuple(),
199199
allow_self_loops::Bool=false,
200-
) where {T<:Integer,U<:Real,G<:AbstractGraph{T},V<:MultilayerVertex{nothing},N<:Node} #V <: Vector{MultilayerVertex{nothing}}, N <: Vector{Node}}
200+
) where {T<:Integer,U<:Real,G<:AbstractGraph{T},V<:MultilayerVertex{nothing},N<:Node}
201201
_nv = length(vertices)
202202
@assert(
203203
length(unique(vertices)) == _nv, "The argument `vertices` must be a unique list"

0 commit comments

Comments
 (0)