Skip to content

Commit

Permalink
typo fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Khashayar Barooti committed Jan 20, 2025
1 parent b1fbb6a commit ce93ad8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/benchmarks/bignum_benchmarks.nr
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@ fn bench_to_field_BN256(a: BN256) -> Field {

#[export]
fn bench_from_field_Fq(a: Field) -> Fq {
let c = Fq::from_field(a);
let c = Fq::from(a);
c
}

#[export]
fn bench_from_field_BN256(a: Field) -> BN256 {
let c = BN256::from_field(a);
let c = BN256::from(a);
c
}

0 comments on commit ce93ad8

Please sign in to comment.