|Polyhedron.radius() bug?||rickhg12hs||2/10/12 5:27 AM|
"Return the maximal distance from the center to a vertex."
Shouldn't this be translation invariant? Doesn't seem like any of
these are answers right.
[[1, 1], [-1, 1], [1, -1], [-1, -1]]
sage: Polyhedron([[p0+1,p1] for p0,p1 in sq.vertices()]).radius()
sage: Polyhedron([[p0+10,p1] for p0,p1 in sq.vertices()]).radius()
|Re: Polyhedron.radius() bug?||Keshav Kini||2/10/12 6:52 AM|
That looks obviously broken to me. I'll write a patch.
Join us in #sagemath on irc.freenode.net !
|Re: [sage-support] Polyhedron.radius() bug?||Anton Sherwood||2/10/12 9:06 AM|
On 2012-2-10 05:27, rickhg12hs wrote:
Could 'center' here mean 'origin'? It's not obviously unreasonable to
|Re: [sage-support] Polyhedron.radius() bug?||Keshav Kini||2/10/12 10:35 AM|
Seems unlikely to me. The output does not match this theory either.
achtung: sent from phone, possibly unduly terse
|Re: Polyhedron.radius() bug?||Keshav Kini||2/11/12 1:37 AM|
Fixed this issue at http://trac.sagemath.org/sage_trac/ticket/12492 . Thanks for reporting this bug, rickhg12hs!