Skip to content

Commit

Permalink
Remove compile warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Aug 12, 2024
1 parent ef64ae7 commit 25fc38a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pc/relic_pc_exp.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ void gt_exp_gls_imp(gt_t c, const gt_t a, const bn_t b, size_t f) {
}

gt_copy(q, a);
if (s[0] == RLC_NEG) {
if (bn_sign(_b[0]) == RLC_NEG) {
gt_inv(q, q);
}
if (RLC_WIDTH > 2) {
Expand Down

0 comments on commit 25fc38a

Please sign in to comment.