#10238: Containment checks are wrong for empty polyhedra
------------------------+---------------------------------------------------
Reporter: novoselt | Owner: mhampton
Type: defect | Status: new
Priority: major | Milestone: sage-4.6.1
Component: geometry | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
{{{
sage: p = Polyhedron()
sage: p
The empty polyhedron in QQ^0.
sage: p.contains(0)
True
sage: p.contains(1)
True
sage: p.contains([0, 1])
True
sage: p.contains([(0, 1)])
True
sage: p.interior_contains([0, 1])
True
sage: p.relative_interior_contains([0, 1])
True
}}}
I think all of the above should return False.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10238>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.