Skip to content
Snippets Groups Projects
Commit 0523c692 authored by Bhaskar Chowdhury's avatar Bhaskar Chowdhury Committed by Linus Torvalds
Browse files
parent 550eb38b
No related branches found
No related tags found
No related merge requests found
...@@ -584,7 +584,7 @@ static int find_affine4_roots(struct bch_control *bch, unsigned int a, ...@@ -584,7 +584,7 @@ static int find_affine4_roots(struct bch_control *bch, unsigned int a,
k = a_log(bch, a); k = a_log(bch, a);
rows[0] = c; rows[0] = c;
/* buid linear system to solve X^4+aX^2+bX+c = 0 */ /* build linear system to solve X^4+aX^2+bX+c = 0 */
for (i = 0; i < m; i++) { for (i = 0; i < m; i++) {
rows[i+1] = bch->a_pow_tab[4*i]^ rows[i+1] = bch->a_pow_tab[4*i]^
(a ? bch->a_pow_tab[mod_s(bch, k)] : 0)^ (a ? bch->a_pow_tab[mod_s(bch, k)] : 0)^
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment