X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=dunshire%2Fcones.py;fp=dunshire%2Fcones.py;h=bf873dab1c09021873a27b8cfd9d82b3523e9e1a;hb=ce9340f3b78f1ddb496d7a38276287aec3c93807;hp=af2415bb5f1ee18c188cfd3a1e740c655dd4b32d;hpb=06fa476e191565cf7f89150206d1d4a8e81d217d;p=dunshire.git diff --git a/dunshire/cones.py b/dunshire/cones.py index af2415b..bf873da 100644 --- a/dunshire/cones.py +++ b/dunshire/cones.py @@ -452,7 +452,7 @@ class IceCream(SymmetricCone): of the way to the boundary of the cone, and in the direction of a 30-60-90 triangle. If one follows those coordinates, they hit at ``(1, sqrt(3)/2, 1/2)`` having unit norm. Thus the - "horizontal" distance to the boundary of the cone is ``(1 - + "horizontal" distance to the boundary of the cone is ``1 - norm(x)``, which simplifies to ``1/2``. And rather than involve a square root, we divide by two for a final safe radius of ``1/4``.