From: Ian Jackson Date: Wed, 29 Nov 2017 19:46:20 +0000 (+0000) Subject: helixish: better debug: show sh, th X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=0aa132722e59bdff2aaec4f562b7ce27fec620cd;p=moebius3.git helixish: better debug: show sh, th Signed-off-by: Ian Jackson --- diff --git a/helixish.py b/helixish.py index 60b837d..cc75ad7 100644 --- a/helixish.py +++ b/helixish.py @@ -177,9 +177,10 @@ class HelixishCurve(): [findcurve_epsilon])) def dbg_fmt_params(fcp): - return ('s=%5.2f t=%5.2f la=%5.2f mu=%5.2f ga=%5.2f ka=%5.2f' + return (('s=%5.2f t=%5.2f sh=%5.2f' + +' st=%5.2f la=%5.2f mu=%5.2f ga=%5.2f ka=%5.2f') % - (( fcp[0]**2, fcp[1]**2 ) + tuple(fcp[2:]))) + (( fcp[0]**2, fcp[1]**2 ) + tuple(fcp))) dbg(('RUNNING FINDCURVE ' + ' target Q=[%5.2f %5.2f %5.2f] dQ=[%5.2f %5.2f %5.2f]')