From: Ian Jackson Date: Sat, 30 Dec 2017 19:28:39 +0000 (+0000) Subject: helixish: dist_pq_plane should be the distance in the dp/dq plane X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=a23b2d86d8696646e5cac912888bb6fd353f13b2;p=moebius3.git helixish: dist_pq_plane should be the distance in the dp/dq plane Signed-off-by: Ian Jackson --- diff --git a/helixish.py b/helixish.py index eb2e0c9..a4598e1 100644 --- a/helixish.py +++ b/helixish.py @@ -72,7 +72,7 @@ class HelixishCurve(): dp_plane = augmatmultiply(dPQplane_into, dp, augwith=0) dq_plane = augmatmultiply(dPQplane_into, dq, augwith=0) q_plane = augmatmultiply(dPQplane_into, q) - dist_pq_plane = np.linalg.norm(q_plane) + dist_pq_plane = np.linalg.norm(q_plane[0:2]) vdbg_plane = MatrixVisdebug(vdbg(), dPQplane_basis)