Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbrandhorst committed Jun 14, 2024
1 parent 4a6b983 commit aea5294
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions experimental/Schemes/src/LazyGluing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -129,19 +129,3 @@ end
# Method for compatibility with internal methods of the gluings

Gluing(g::LazyGluing) = Gluing(underlying_gluing(g))

# ask the underlying gluing if it knows more
function has_is_disjoint_gluing(G::LazyGluing)
return has_attribute(G, :is_disjoint_gluing) || has_is_disjoint_gluing(underlying_gluing(G))
end

# forward attributes ... do we want this?
function has_attribute(G::LazyGluing, s::Symbol)
has_attribute(G, s) && return true
return has_attribute(underlying_gluing(G), s)
end

function get_attribute(G::LazyGluing, s::Symbol)
has_attribute(G, s) && return get_attribute(G, s)
return get_attribute(underlying_gluing(G), s)
end

0 comments on commit aea5294

Please sign in to comment.