#15875: Add is_induced_subposet
-------------------------------------+-------------------------------------
       Reporter:  csar               |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.10
      Component:  combinatorics      |   Resolution:
       Keywords:  posets             |    Merged in:
        Authors:  Jori Mäntysalo     |    Reviewers:  Travis Scrimshaw,
Report Upstream:  N/A                |  Nathann Cohen
         Branch:                     |  Work issues:
  u/jmantysalo/is_subposet           |       Commit:
   Dependencies:                     |  28a3cc39c884d76954ee1af56f082f5fbf2a5fd3
                                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by ncohen):

 Hello Jori,

 I do not understand the point of the line `if not hasattr(other,
 'hasse_diagram'):`. Given that you call `subposet` and `.hasse_diagram` on
 `other` anyway your code will raise an exception whenever those methods
 are not available.

 Nathann

--
Ticket URL: <http://trac.sagemath.org/ticket/15875#comment:63>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to