From: zooko Date: Fri, 26 Jan 2007 00:46:57 +0000 (+0530) Subject: pyfec: trivial formatting X-Git-Url: https://git.rkrishnan.org/vdrive/%22news.html/reliability?a=commitdiff_plain;h=283dcbd371022bdd8dc4ab168a518b037cce6ebe;p=tahoe-lafs%2Fzfec.git pyfec: trivial formatting darcs-hash:fb30b190ef369714cf97012e5da7f739fa106e5f --- diff --git a/pyfec/fec/fec.c b/pyfec/fec/fec.c index 7025c2c..c59dced 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