Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Lars Göttgens <[email protected]>
  • Loading branch information
felix-roehrich and lgoettgens authored Apr 15, 2024
1 parent ef8ca15 commit d0b4b98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions experimental/Posets/src/Poset.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function Base.length(P::Poset)
end

function Base.show(io::IO, P::Poset)
print(io, "poset with $(length(P)) elements")
print(io, "Poset with $(ItemQuantity(length(P), "element")")
end
# PosetElem
Expand Down Expand Up @@ -77,7 +77,7 @@ function (P::Poset)(elem::VarName)
error("unknown element")
end
return Poset(i, P)
return PosetElem(i, P)
end
# MaximalChainsIterator constructors
Expand Down

0 comments on commit d0b4b98

Please sign in to comment.