Skip to content

Commit af7c670

Browse files
committed
format
1 parent bebab57 commit af7c670

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/bipartite_graph.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ function Base.push!(m::Matching, v)
8888
end
8989
end
9090

91-
function complete(m::Matching{U}, N = maximum((x for x in m.match if isa(x, Int)); init=0)) where {U}
91+
function complete(m::Matching{U},
92+
N = maximum((x for x in m.match if isa(x, Int)); init = 0)) where {U}
9293
m.inv_match !== nothing && return m
9394
inv_match = Union{U, Int}[unassigned for _ in 1:N]
9495
for (i, eq) in enumerate(m.match)

src/structural_transformation/partial_state_selection.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function pss_graph_modia!(structure::SystemStructure, maximal_top_matching, varl
5151
old_level_vars = ()
5252
ict = IncrementalCycleTracker(
5353
DiCMOBiGraph{true}(graph,
54-
complete(Matching(ndsts(graph)), nsrcs(graph))),
54+
complete(Matching(ndsts(graph)), nsrcs(graph))),
5555
dir = :in)
5656

5757
while level >= 0

0 commit comments

Comments
 (0)