From: Ian Jackson Date: Sat, 30 Dec 2017 22:29:34 +0000 (+0000) Subject: helixish: remember to transform back from findcurve basis (!) X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=moebius3.git;a=commitdiff_plain;h=f888ccc82f4228b3acfbc66560f185a649ac4730 helixish: remember to transform back from findcurve basis (!) Signed-off-by: Ian Jackson --- 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