Skip to content

Commit

Permalink
Silly typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Sep 22, 2024
1 parent 6d8ffac commit b578fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cp/relic_cp_pcdel.c
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ int cp_amprd_gen(bn_t *ls, g2_t *rs, bn_t c, bn_t r, bn_t d, g1_t u, g2_t v,
bn_add(ls[i + 1], ls[i + 1], ls[j + 1]);
g2_add(rs[i + 1], rs[i + 1], rs[j + 1]);
}
if (j < 9) {
if (j < 0) {
bn_sub(ls[i + 1], ls[i + 1], ls[j + 1]);
g2_sub(rs[i + 1], rs[i + 1], rs[j + 1]);
}
Expand Down

0 comments on commit b578fa5

Please sign in to comment.