projects
/
tahoe-lafs
/
zfec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c294f7
)
pyfec: trivial formatting
author
zooko
<zooko@zooko.com>
Fri, 26 Jan 2007 00:46:57 +0000
(06:16 +0530)
committer
zooko
<zooko@zooko.com>
Fri, 26 Jan 2007 00:46:57 +0000
(06:16 +0530)
darcs-hash:
fb30b190ef369714cf97012e5da7f739fa106e5f
pyfec/fec/fec.c
patch
|
blob
|
history
diff --git
a/pyfec/fec/fec.c
b/pyfec/fec/fec.c
index 7025c2c7aae5208a9e067ff57153354d1d3ca3ff..c59dced4609a91f13c62811fbe6a19a84e01becd 100644
(file)
--- 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