Skip to content

Commit

Permalink
parts -> maxpart
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Brown committed Feb 7, 2024
1 parent 98f12ee commit 7ff3971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/categorical_algebra/HomSearch.jl
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ function backtracking_search(f, X::ACSet, Y::ACSet;
end

pred_nt = NamedTuple{Ob}(let dic = get(predicates, c, Dict());
Union{Set{Int}, Nothing}[haskey(dic, p) ? Set(dic[p]) : nothing for p in parts(X,c)]
Union{Set{Int}, Nothing}[haskey(dic, p) ? Set(dic[p]) : nothing for p in 1:maxpart(X,c)]
end for c in Ob)

# Initialize state variables for search.
Expand Down

0 comments on commit 7ff3971

Please sign in to comment.