#19449: If a `Poset` `is_lattice`, then how do I make it into a `LatticePoset`?
-------------------------------------+-------------------------------------
Reporter: darij | Owner:
Type: defect | Status: positive_review
Priority: major | Milestone: sage-
Component: combinatorics | duplicate/invalid/wontfix
Keywords: lattice, poset, | Resolution:
usability | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jmantysalo):
It is worth mentioning that in current version `if is_lattice(P):
L=LatticePoset(P)` will compute meets and joins twice. So if you need
speed, you should do `try: L=LatticePoset(P) except: . . .`.
--
Ticket URL: <http://trac.sagemath.org/ticket/19449#comment:5>
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.