Skip to content

Commit

Permalink
Fix comments (Plonky3#587)
Browse files Browse the repository at this point in the history
* Update generation.rs

* Update poseidon2.rs
  • Loading branch information
taikoonwang authored Dec 18, 2024
1 parent 8ab3344 commit 0b18480
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blake3-air/src/generation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ fn generate_trace_row_for_round<F: PrimeField64>(
save_state_to_trace(&mut round_data.state_output, state);
}

/// Perform half of a quarter round round on the given elements.
/// Perform half of a quarter round on the given elements.
///
/// The boolean flag, indicates if this is the first (false) or second (true) half round.
fn verifiable_half_round(
Expand Down
2 changes: 1 addition & 1 deletion mersenne-31/src/poseidon2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub type Poseidon2Mersenne31<const WIDTH: usize> = Poseidon2<
MERSENNE31_S_BOX_DEGREE,
>;

/// An implementation of the the matrix multiplications in the internal and external layers of Poseidon2.
/// An implementation of the matrix multiplications in the internal and external layers of Poseidon2.
///
/// This can act on [FA; WIDTH] for any FieldAlgebra which implements multiplication by Mersenne31 field elements.
/// If you have either `[Mersenne31::Packing; WIDTH]` or `[Mersenne31; WIDTH]` it will be much faster
Expand Down

0 comments on commit 0b18480

Please sign in to comment.