#18511: LatticePoset: add has_sublattice()
-------------------------------------+-------------------------------------
       Reporter:  jmantysalo         |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.8
      Component:  combinatorics      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Jori Mäntysalo     |    Reviewers:  Nathann Cohen, Darij
Report Upstream:  N/A                |  Grinberg
         Branch:                     |  Work issues:
  public/ticket/18511                |       Commit:
   Dependencies:                     |  0ef0050b3b959c2115dc9a433d80c62dda905f8f
                                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jmantysalo):

 Replying to [comment:21 ncohen]:

 > Also, it seems that the code does not work as expected when 'other'
 contains points which are not in `self`. That's a trivial 'no', but it
 should not be an exception.

 I guess that it is mostly an error from the user if he/she ask if `{1,2}`
 is a sublattice of a lattice containing `a`, `b` and `a`. So raising an
 exceptions sounds better.

 But totally another thing is a list vs. a lattice as a parameter. They
 feels two different things.

--
Ticket URL: <http://trac.sagemath.org/ticket/18511#comment:25>
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