-
-
Notifications
You must be signed in to change notification settings - Fork 654
Closed
Milestone
Description
The method lawrence_extension
of Polyhedron does not work when the point at which we do the lawrence_extension
has a different base_ring
than the Polyhedron:
sage: polytopes.cube().lawrence_extension([5/2,0,0])
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
...
TypeError: no conversion of this rational to integer
The bug was introduced in #27926.
We fix this and add a method _test_lawrence
to systematically test the lawrence construction.
Component: geometry
Keywords: polytope, lawrence_extension
Author: Jonathan Kliem
Branch/Commit: 539930e
Reviewer: Laith Rastanawi
Issue created by migration from https://trac.sagemath.org/ticket/30293