gsl_ran_dir_nd(rng, N,step);
for (i=0; i<N; i++)
x[i] += step_size * step[i];
+ //printf("\n cb_step %p %.18g [", xp, step_size);
+ //for (i=0; i<N; i++) printf(" %.18g,", step[i]);
+ //printf("]\n");
}
static double cb_metric(void *xp, void *yp) {
#dbg('>> ' + ' '.join(map(str,findcurve_input)))
- dbg(('RUNNING FINDCURVE' +
- ' ' +
+ dbg(('RUNNING FINDCURVE ' +
+ ' ' +
' target Q=[%10.7f %10.7f %10.7f] dQ=[%10.7f %10.7f %10.7f]')
%
tuple(findcurve_input[0:6]))
dbg(('%s initial') % dbg_fmt_params(findcurve_input[6:12]))
- print(*findcurve_input, file=findcurve_subproc.stdin)
+ s = ' '.join(map(str, findcurve_input))
+ dbg(('>> %s' % s))
+
+ print(s, file=findcurve_subproc.stdin)
findcurve_subproc.stdin.flush()
hc.func = symbolic.get_python()