Skip to content

Commit babf18f

Browse files
committed
Fix starting condition
1 parent aa68a71 commit babf18f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/structural_transformation/partial_state_selection.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ function prop_state_priority!(sp, graph)
235235
end
236236
end
237237
for v in vertices(graph)
238-
if all(x -> iszero(sp[v]), inneighbors(graph, v))
238+
if isempty(inneighbors(graph, v))
239239
visit!(sp, graph, v)
240240
empty!(visited)
241241
end

0 commit comments

Comments
 (0)