#16627: Slight inconsistency in base ring of polytope doc
------------------------+----------------------------
   Reporter:  kcrisman  |            Owner:
       Type:  defect    |           Status:  new
   Priority:  trivial   |        Milestone:  sage-6.3
  Component:  geometry  |         Keywords:  beginner
  Merged in:            |          Authors:
  Reviewers:            |  Report Upstream:  N/A
Work issues:            |           Branch:
     Commit:            |     Dependencies:
   Stopgaps:            |
------------------------+----------------------------
 {{{
 sage: P8 = polytopes.n_cube(4)
 sage: P8.base_ring?
 Type:            instancemethod
 String form:     <bound method
 Polyhedra_ZZ_ppl_with_category.element_class.base_ring of A 4-dimensional
 polyhedron in ZZ^4 defined as the convex hull of 16 vertices>
 Definition:      P8.base_ring(self)
 Docstring:
    Return the base ring.

    OUTPUT:

    Either "QQ" (exact arithmetic using gmp, default) or "RDF" (double
    precision floating-point arithmetic)

    EXAMPLES:

       sage: triangle = Polyhedron(vertices = [[1,0],[0,1],[1,1]])
       sage: triangle.base_ring() == ZZ
       True
 }}}
 I particularly like how the **example** directly contradicts the
 documentation ;-)  Anyway, all options should be tested.

--
Ticket URL: <http://trac.sagemath.org/ticket/16627>
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