Opened 21 months ago

Last modified 21 months ago

#29057 closed defect

make stack method of Polyhedron use fraction_field — at Initial Version

Reported by: gh-LaisRast Owned by:
Priority: major Milestone: sage-9.1
Component: geometry Keywords: polytopes, stack
Cc: jipilab, gh-kliem Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


stack method of Polyhedron has the following behavior:

sage: P = polytopes.cross_polytope(4)
sage: P.stack(P.faces(3)[0])
TypeError                                 Traceback (most recent call last)
TypeError: no conversion of this rational to integer

We fix this by extending the base_ring to its fraction_field.

Change History (0)

Note: See TracTickets for help on using tickets.