From a23b2d86d8696646e5cac912888bb6fd353f13b2 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 30 Dec 2017 19:28:39 +0000 Subject: [PATCH] helixish: dist_pq_plane should be the distance in the dp/dq plane Signed-off-by: Ian Jackson --- helixish.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2