Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#11189 closed defect (duplicate)

Bugfix in Poset/Lattice/Hassediagram

Reported by: stumpc5 Owned by: sage-combinat
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: combinatorics Keywords: poset, digraph
Cc: Merged in:
Authors: Christian Stump Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by stumpc5)

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'
    
  1. The plot for posets does not properly pass the element_label dict to HasseDiagram?.plot.

Issue solved in #10998

Attachments (1)

trac_11189-bugfix_in_poset-cs.patch (2.4 KB) - added by stumpc5 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by stumpc5

comment:1 Changed 8 years ago by stumpc5

  • Description modified (diff)
  • Status changed from new to needs_review
  • Type changed from PLEASE CHANGE to defect

comment:2 Changed 8 years ago by stumpc5

  • Description modified (diff)
  • Resolution set to duplicate
  • Status changed from needs_review to closed

comment:3 Changed 8 years ago by mvngu

  • Milestone set to sage-duplicate/invalid/wontfix
Note: See TracTickets for help on using tickets.