Changes between Initial Version and Version 1 of Ticket #19078


Ignore:
Timestamp:
08/24/15 09:33:56 (4 years ago)
Author:
jmantysalo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19078

    • Property Type changed from enhancement to defect
  • Ticket #19078 – Description

    initial v1  
    11Implementation in the category of posets works but is unoptimal for finite posets. It compares every pair of elements twice, using only `le()` function.
     2
     3Also there is a slight bug:
     4
     5{{{
     6P = Posets.PentagonPoset()
     7print P.is_antichain_of_poset([2,3,'junk'])
     8print P.is_antichain_of_poset(['junk',2,3])
     9}}}
     10
     11Prints `False` and then gives an error.