id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
18220 disallow non exact fields for the 'field' backend vdelecroix "The 'field' backend does not properly support non exact fields
{{{
sage: omega = 2*RR.pi() / 5
sage: verts = [((i*omega).sin(), (i*omega).cos()) for i in range(5)]
sage: verts
sage: Polyhedron(vertices=verts, base_ring=RR)
Traceback (most recent call last):
...
AssertionError:
}}}
or
{{{
sage: Q = polytopes.icosahedron()
sage: Q = polytopes.icosahedron(); Q
A 3-dimensional polyhedron in (Number Field in sqrt5 with defining polynomial x^2 - 5)^3 defined as the convex hull of 12 vertices
sage: Q_RR = Polyhedron(vertices = [n(v.vector(),digits=10) for v in Q.vertices()])
sage: Q_RR
A 3-dimensional polyhedron in (Real Field with 37 bits of precision)^3 defined as the convex hull of 7 vertices
sage: Q_RR = Polyhedron(vertices = [n(v.vector(),digits=30) for v in Q.vertices()])
sage: Q_RR
A 3-dimensional polyhedron in (Real Field with 103 bits of precision)^3 defined as the convex hull of 1 vertex and 3 rays
}}}
We simply raise an error if somebody want to try this." defect closed major sage-7.4 geometry fixed bug, days84 chapoton jipilab mkoeppe Vincent Delecroix Jean-Philippe Labbé N/A c28fcf05115ba98f832e74a94eb518bb53117d2a