Comment #4 on issue 2120 by mattpap: Circle(Point(0.5, 0.2),Point(1.1, 0),Point(0.5, 0.5)) raise Except
http://code.google.com/p/sympy/issues/detail?id=2120

Now in polys11 we are back with IndexError:

In [2]: Circle(Point(0.5, 0.2),Point(1.1, 0),Point(0.5, 0.5))
---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)

/home/matt/repo/git/sympy/<ipython console> in <module>()

/home/matt/repo/git/sympy/sympy/geometry/ellipse.pyc in __new__(cls, *args, **kwargs)
    301             if t.area == 0:
302 raise GeometryError("Cannot construct a circle from three collinear points")
--> 303             c = t.circumcenter
    304             r = t.circumradius
    305         elif len(args) == 2:

/home/matt/repo/git/sympy/sympy/geometry/polygon.pyc in circumcenter(self)
    382         """The circumcenter of the triangle."""
    383         a,b,c = [x.perpendicular_bisector() for x in self.sides]
--> 384         return GeometryEntity.do_intersection(a, b)[0]
    385
    386     @property

IndexError: list index out of range

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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/sympy-issues?hl=en.

Reply via email to