-
-
Notifications
You must be signed in to change notification settings - Fork 553
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #31253: Put equations in stable position for backend cdd
Currently, equations positions in Hrepresentation of backend `cdd` depends on the input: {{{ sage: P = polytopes.permutahedron(2, backend='cdd') sage: P.Hrepresentation() (An equation (1, 1) x - 3 == 0, An inequality (0, 1) x - 1 >= 0, An inequality (1, 0) x - 1 >= 0) sage: Q = Polyhedron(P.vertices(), backend='cdd') sage: Q.Hrepresentation() (An inequality (-1, 0) x + 2 >= 0, An inequality (1, 0) x - 1 >= 0, An equation (1, 1) x - 3 == 0) }}} This leads to the following failure: {{{ sage: [x.ambient_Hrepresentation() for x in P.facets()] [(An inequality (1, 0) x - 1 >= 0, An inequality (0, 1) x - 1 >= 0), (An inequality (1, 0) x - 1 >= 0, An equation (1, 1) x - 3 == 0)] }}} We fix this by putting equations always in the same position. URL: https://trac.sagemath.org/31253 Reported by: gh-kliem Ticket author(s): Jonathan Kliem Reviewer(s): Matthias Koeppe
- Loading branch information
Showing
3 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
tarball=configure-VERSION.tar.gz | ||
sha1=48014f7cb1b4058977e37a8a24b356b8f49cb407 | ||
md5=05f179d63fdbf1d2115190e056adcb6c | ||
cksum=3494189359 | ||
sha1=69e3dffde527833c504246a159deee707b293c26 | ||
md5=2bc896e7c3a7188b8ff0b02eaf52cbc2 | ||
cksum=1400865248 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
313fa89231831703c8da1840c71435517b72624c | ||
e18e9db0b62dbc8f531d8891de3777255769ca57 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters