Skip to content

Commit

Permalink
Get Op1s with src a tgt of a black list operator
Browse files Browse the repository at this point in the history
  • Loading branch information
lukem12345 committed Jul 1, 2024
1 parent c3ee451 commit 4860877
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/acset.jl
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,7 @@ function find_chains(d::SummationDecapode;
[incident(d, Vector{Int64}(filter(i -> !isnothing(i), infer_states(d))), :src),
incident(d, d[:res], :src),
incident(d, d[:sum], :src),
d[collect(Iterators.flatten(incident(d, collect(black_list), :op1))), :tgt]
]))
incident(d, d[collect(Iterators.flatten(incident(d, collect(black_list), :op1))), :tgt], :src)]))

passes_white_list(x) = isempty(white_list) ? true : x white_list
passes_black_list(x) = x black_list
Expand Down

0 comments on commit 4860877

Please sign in to comment.