Skip to content

Commit

Permalink
catlab compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Brown authored and kris-brown committed Dec 7, 2023
1 parent ed21d2e commit d3ebca8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/models/ModelInterface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ function make_alias_definitions(theory, theory_module, jltype_by_sort, model_typ
for binding in segment
alias = getvalue(binding)
name = nameof(binding)
if alias isa Alias && nameof(alias.ref) ext_functions
if alias isa Alias && name ext_functions
for (argsorts, method) in allmethods(theory.resolvers[alias.ref])
args = [(gensym(), jltype_by_sort[sort]) for sort in argsorts]
args = if oldinstance
Expand Down
2 changes: 1 addition & 1 deletion src/nonstdlib/models/Pushouts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ end
using .ThPushout

@instance ThPushout{Int, Vector{Int}, PushoutInt} [model::FinSetC] begin
@import Ob, Hom, id, compose, dom, codom
@import Ob, Hom, id, compose, dom, codom, ,
function pushout(sp::Span; context)
B, C = context[:d], context[:c]
d = DataStructures.IntDisjointSets(B+C)
Expand Down

0 comments on commit d3ebca8

Please sign in to comment.