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:
3c403f8
)
helixish: fix augment augwith
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 29 Nov 2017 19:05:21 +0000
(19:05 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 29 Nov 2017 19:05:21 +0000
(19:05 +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 19c592bbeaf1b4cece7195d2fee5aa27fa351e91..dde107d1efa5d20d7a16750d37d95317d2444118 100644
(file)
--- a/
helixish.py
+++ b/
helixish.py
@@
-14,7
+14,7
@@
from math import atan2, atan, sqrt
import symbolic
-def augment(v, augwith=1): return np.append(v,
1
)
+def augment(v, augwith=1): return np.append(v,
augwith
)
def augment0(v): return augment(v, 0)
def unaugment(v): return v[0:3]