#18211: Computing Ehrhart polynomials with LattE
-------------------------------------+-------------------------------------
Reporter: vdelecroix | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.7
Component: geometry | Resolution:
Keywords: | Merged in:
Authors: Vincent Delecroix | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/vdelecroix/18211 | 0f5122bddee5f104a3e2ff65715129eb275452e7
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by ncohen):
Once the package is installed, I get another broken doctest
{{{
File "polyhedron/library.py", line 179, in
sage.geometry.polyhedron.library.Polytopes.Birkhoff_polytope
Failed example:
p3 = b3.ehrhart_polynomial() # optional - latte_int
Expected:
1/8*t^4 + 3/4*t^3 + 15/8*t^2 + 9/4*t + 1
Got:
<BLANKLINE>
}}}
I have a question about the way you call the process, however. The way it
is done, it seems that no output is being printed before the process has
ended. If the user asked for verbosity, wouldn't it be better to just let
the process print to stdout so that one can get some info on the process
*while* it is running?
It seems that you only need to do `stdout=(None if verbose else PIPE)`.
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/18211#comment:20>
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.