Skip to content

Commit

Permalink
more disambiguation
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Brown committed Oct 12, 2023
1 parent 61f4567 commit 2676b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rewrite/Representable.jl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ end
function yoneda_cache(T::Type,S=nothing; clear=false, cache="cache")
S = isnothing(S) ? Presentation(T) : S
tname = nameof(T) |> string
cache_dict = Dict{Symbol,Tuple{T,Int}}(map(Catlab.generators(S, :Ob)) do ob
cache_dict = Dict{Symbol,Tuple{T,Int}}(map(Catlab.GATs.Presentations.generators(S, :Ob)) do ob
name = nameof(ob)
cache_dir = mkpath(joinpath(cache, "$tname"))
path, ipath = joinpath.(cache_dir, ["$name.json", "_id_$name.json"])
Expand Down

0 comments on commit 2676b4e

Please sign in to comment.