mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 05:28:04 +00:00
pyfec: trivial formatting
This commit is contained in:
parent
54fdcc2626
commit
3e6ef757d3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user