Skip to content

Commit 72cc4a9

Browse files
committed
refactor: tighten MetaGraph type bounds
1 parent 5d3db1f commit 72cc4a9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/qualitative_networks.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,11 @@ Systems that include the model semantics wrap around this struct with an
364364
from [`DynamicalSystems`](https://juliadynamics.github.io/DynamicalSystems.jl/stable/). See
365365
[`create_qn_system`](@ref) for an example.
366366
"""
367-
struct QualitativeNetwork{N,Schedule,M<:MetaGraph} <: GraphDynamicalSystem{N,Schedule}
367+
struct QualitativeNetwork{
368+
N,
369+
Schedule,
370+
M<:MetaGraph{Int,<:SimpleDiGraph,<:EntityLabel,<:Entity},
371+
} <: GraphDynamicalSystem{N,Schedule}
368372
"Graph containing the topology and target functions of the network"
369373
graph::M
370374
"State of the network"

0 commit comments

Comments
 (0)