Skip to content

Commit feaaa4a

Browse files
InterdisciplinaryPhysicsTeampitmonticoneClaudMor
committed
Update interlayer.jl
Co-Authored-By: Pietro Monticone <[email protected]> Co-Authored-By: Claudio Moroni <[email protected]>
1 parent 60fc1ae commit feaaa4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/subgraphs/interlayer.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ end
298298
layer_2::Symbol,
299299
graph_type::Type{G};
300300
forbidden_vertices::Vector{MultilayerVertex}, forbidden_edges::Vector{NTuple{2, MultilayerVertex}}
301-
) where {T <: Union{ <: Integer, AbstractVertex}, G <: AbstractGraph{T}; !IsDirected{G}}
301+
) where {T <: Union{ <: Integer, AbstractVertex}, G <: AbstractGraph{T}}
302302
303303
Return an `Interlayer{T,U,G}` that has edges only between vertices that represent the same node.
304304
@@ -326,7 +326,7 @@ multiplex_interlayer(
326326
) where {T<:Integer, U <: Real, G<:AbstractGraph{T}} = _multiplex_interlayer(collect(mv_vertices(layer_1)), collect(mv_vertices(layer_2)), null_graph, U; default_edge_weight = default_edge_weight, default_edge_metadata = default_edge_metadata, transfer_vertex_metadata = transfer_vertex_metadata , name = name)
327327

328328
"""
329-
multiplex_interlayer(
329+
_multiplex_interlayer(
330330
nv::Int64,
331331
name::Symbol,
332332
layer_1::Symbol,

0 commit comments

Comments
 (0)