Status: Accepted
Owner: ----
CC: [email protected]
Labels: Type-Defect Priority-Medium

New issue 2761 by [email protected]: Wrong printing for Segment, Ray
http://code.google.com/p/sympy/issues/detail?id=2761

In [1]: s = Segment(Point(0,1), Point(0,2))

In [2]: s
Out[2]: ((0,), (0,))

In [3]: str(s)
Out[3]: Segment(Point(0, 2), Point(0, 1))

---

In [8]: r = Ray((1, 1), angle=4.2*pi)

In [9]: r
Out[9]: ((1,), (2,))

While investigating, I saw a test for Ray that smichr changed to use str(), after which it mysteriously started passing, so I guess this is a longer standing problem. See commit 89da26a7. Chris, you worked on this, I'm adding you on cc.

--
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