From f888ccc82f4228b3acfbc66560f185a649ac4730 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 30 Dec 2017 22:29:34 +0000 Subject: [PATCH] helixish: remember to transform back from findcurve basis (!) Signed-off-by: Ian Jackson --- helixish.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helixish.py b/helixish.py index c3a1797..27485ea 100644 --- a/helixish.py +++ b/helixish.py @@ -252,6 +252,7 @@ class HelixishCurve(): findcurve_subproc.stdin.flush() hc.func = symbolic.get_python() + hc.findcurve_basis = findcurve_basis commentary = '' while True: @@ -287,4 +288,5 @@ class HelixishCurve(): ours[1] = sqrt(dist - hc.threshold) asmat = hc.func(*ours) p = asmat[:,0] + p = augmatmultiply(hc.findcurve_basis, p) return p -- 2.30.2