JuliaPolyhedra / Polyhedra.jl

Polyhedral Computation Interface
Other
172 stars 27 forks source link

Error in conversion to V-representation for one-dimensional problems #341

Open CompleteMetricSpace opened 3 months ago

CompleteMetricSpace commented 3 months ago

When using

polyhedron(hrep([HalfSpace([-1],0)]))

the following error is thrown:

Non-empty V-representation must contain at least one point. If it is a polyhedral cone, the origin should be added.

This does not happen with a 2-dimensional example polyhedron(hrep([HalfSpace([-1,1],0)]))

Any easy fix for this?