Skip to content

Cartesian product of polyhedra with different dimension fails #15253

@vbraun

Description

@vbraun
sage: polytopes.n_cube(1) * polytopes.n_cube(2)
...
TypeError: no common canonical parent for objects with parents: 'Polyhedra in ZZ^1' and 'Polyhedra in ZZ^2'

probably shouldn't use @coerce_binop on Polyhedra.product

CC: @dimpase @jplab @mforets @videlec

Component: geometry

Author: Marcelo Forets

Branch/Commit: a95ca7f

Reviewer: Travis Scrimshaw

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions