chiark
/
gitweb
/
~ian
/
moebius3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70cc908
)
helixish: dist_pq_plane should be the distance in the dp/dq plane
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 30 Dec 2017 19:28:39 +0000
(19:28 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 30 Dec 2017 19:28:39 +0000
(19:28 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
helixish.py
patch
|
blob
|
history
diff --git
a/helixish.py
b/helixish.py
index eb2e0c923df3b6ec9925ad073687e5aac81b9b7e..a4598e1c6747a2edb567613b4389986e37381da0 100644
(file)
--- 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)