Status: Accepted
Owner: asmeurer
Labels: Type-Defect Priority-Medium Geometry WrongResult
New issue 2360 by asmeurer: Bug in geometry intersection
http://code.google.com/p/sympy/issues/detail?id=2360
I found a bug when fixing issue 2203. There is a doctest in
doc/src/modules/geometry.txt that isn't being tested because it's written
in IPython notation. The output is
a = Symbol("a")
b = Symbol("b")
c = Symbol("c")
x = Point(0,0)
y = Point(c,0)
z = Point(a,b)
t = Triangle(x,y,z)
intersection(t.medians[x], t.medians[y], t.medians[z])
and this gives [], but the output that was there in the file was
[Point(1/3*c+1/3*a, 1/3*b)], which seems right to me (or at least more
right; I didn't verify it).
--
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.