Add -is-tangent patch (bz 1135677). Temporarily disable tests that fail due to mpmath bugs (bz 1127796). Fix license handling.
14 lines
683 B
Diff
14 lines
683 B
Diff
--- ./sympy/geometry/ellipse.py.orig 2014-02-22 12:13:32.000000000 -0700
|
|
+++ ./sympy/geometry/ellipse.py 2014-09-03 12:30:00.000000000 -0600
|
|
@@ -768,8 +768,8 @@ class Ellipse(GeometryEntity):
|
|
inter = self.intersection(o)
|
|
if isinstance(inter, Ellipse):
|
|
return False
|
|
- return (inter is not None and isinstance(inter[0], Point)
|
|
- and len(inter) == 1)
|
|
+ return (inter is not None and len(inter) == 1 and
|
|
+ isinstance(inter[0], Point))
|
|
elif isinstance(o, LinearEntity):
|
|
inter = self._do_line_intersection(o)
|
|
if inter is not None and len(inter) == 1:
|