Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #28506: Direct sum of polyhedron is broken, so is minkowski diff…
…erence and face truncation The following returns a `TypeError`: {{{ sage: s2 = polytopes.simplex(2) sage: s3 = polytopes.simplex(3) sage: t = s2.direct_sum(s3) }}} H-Polyhedra might have non-integral vertices and it is hard to tell from the H-Representation, whether this this is the case. We fix `direct_sum`, `minkowski_difference` and `face_truncation` to try the quotient ring, if the given base ring does not work. URL: https://trac.sagemath.org/28506 Reported by: jipilab Ticket author(s): Jonathan Kliem Reviewer(s): Jean-Philippe Labbé
- Loading branch information
Showing
3 changed files
with
52 additions
and
21 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
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
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