Skip to content

difference of behavior in polyhedra with different backends #19803

@videlec

Description

@videlec

The following error used to occur:

sage: from sage.geometry.polyhedron.parent import Polyhedra
sage: P_ppl = Polyhedra(ZZ, 3, 'ppl')
sage: P_cdd = Polyhedra(ZZ, 3, 'cdd')
sage: P_ppl([[],[],[]], None)
The empty polyhedron in ZZ^3
sage: P_cdd([[],[],[]], None)
Traceback (most recent call last):
...
TypeError: can't multiply sequence by non-int of type 'NoneType'

Apparently it got fixed along the way and we add doctests verifying it.

CC: @vbraun @jplab @mo271

Component: geometry

Keywords: empty polyhedron, cdd

Author: Jonathan Kliem

Branch/Commit: 96dad18

Reviewer: Laith Rastanawi

Issue created by migration from https://trac.sagemath.org/ticket/19803

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions