From: Zooko O'Whielacronx Date: Fri, 26 Jan 2007 01:46:57 +0000 (-0700) Subject: pyfec: trivial formatting X-Git-Tag: tahoe_v0.1.0-0-UNSTABLE~312 X-Git-Url: https://git.rkrishnan.org/-?a=commitdiff_plain;h=3e6ef757d3350f8002fbf0ba0bbe390cc1d912a2;p=tahoe-lafs%2Ftahoe-lafs.git pyfec: trivial formatting --- diff --git a/pyfec/fec/fec.c b/pyfec/fec/fec.c index 7025c2c7..c59dced4 100644 --- a/pyfec/fec/fec.c +++ b/pyfec/fec/fec.c @@ -557,10 +557,9 @@ fec_new (unsigned char k, unsigned char n) { tmp_m[0] = 1; for (col = 1; col < k; col++) tmp_m[col] = 0; - for (p = tmp_m + k, row = 0; row < n - 1; row++, p += k) { + for (p = tmp_m + k, row = 0; row < n - 1; row++, p += k) for (col = 0; col < k; col++) p[col] = gf_exp[modnn (row * col)]; - } /* * quick code to build systematic matrix: invert the top