From: Ian Jackson Date: Sun, 8 Apr 2018 12:37:26 +0000 (+0100) Subject: curveopt: new approach X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=5ca187f1eea8669e7b64d38840d85c82a3868501;p=moebius3.git curveopt: new approach Signed-off-by: Ian Jackson --- diff --git a/findcurve.c b/findcurve.c index 275b501..055018f 100644 --- a/findcurve.c +++ b/findcurve.c @@ -46,6 +46,7 @@ static void prepare(double X[] /* startpoint */) { static double cb_Efunc(void *xp) { const double *X = xp; + int P; DECLARE_F_G; CALCULATE_F_G; @@ -53,27 +54,15 @@ static double cb_Efunc(void *xp) { int i,j; printf(" Efunc\n"); for (j=0; j<3; j++) { - for (i=0; i