Browse Source

Fix mul-by-non-residue for bw6::fq3

cherry-pick
Pratyush Mishra 2 years ago
parent
commit
efefa209d6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bw6_761/src/fields/fq3.rs

+ 1
- 1
bw6_761/src/fields/fq3.rs

@ -83,6 +83,6 @@ impl Fp3Config for Fq3Config {
#[inline(always)]
fn mul_fp_by_nonresidue_in_place(fe: &mut Self::Fp) -> &mut Self::Fp {
fe.double_in_place().double_in_place()
fe.double_in_place().double_in_place().neg_in_place()
}
}

Loading…
Cancel
Save