#11189: Bugfix in Poset/Lattice/Hassediagram
-------------------------------+--------------------------------------------
Reporter: stumpc5 | Owner: sage-combinat
Type: defect | Status: needs_review
Priority: major | Milestone:
Component: combinatorics | Keywords: poset, digraph
Author: Christian Stump | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-------------------------------+--------------------------------------------
Changes (by stumpc5):
* status: new => needs_review
* type: PLEASE CHANGE => defect
Old description:
> This patch fixes two minor bugs in the poset code.
>
> 1. LatticePoset should take the same input as Poset. E.g.,
> {{{
> sage: Poset(cover_relations=True)
> Finite poset containing 0 elements
> sage: LatticePoset(cover_relations=True)
> ...
> TypeError: LatticePoset() got an unexpected keyword argument
> 'cover_relations'
> }}}
>
> 2. The plot for posets does not properly pass the element_label dict to
> HasseDiagram.plot.
New description:
This patch fixes two minor bugs in the poset code.
1. `LatticePoset` should take the same input as Poset. E.g.,
{{{
sage: Poset(cover_relations=True)
Finite poset containing 0 elements
sage: LatticePoset(cover_relations=True)
...
TypeError: LatticePoset() got an unexpected keyword argument
'cover_relations'
}}}
2. The plot for posets does not properly pass the element_label dict to
HasseDiagram.plot.
Depends on #10998
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11189#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.