Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typographical errors in documentation and comments #192

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion folding-schemes/src/commitment/kzg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl<'a, E: Pairing<G1: Curve>, const H: bool> CommitmentScheme<E::G1, H> for KZ
}

/// setup returns the tuple (ProverKey, VerifierKey). For real world deployments the setup must
/// be computed in the most trustless way possible, usually through a MPC ceremony.
/// be computed in the most trustless way possible, usually through an MPC ceremony.
fn setup(
mut rng: impl RngCore,
len: usize,
Expand Down
2 changes: 1 addition & 1 deletion folding-schemes/src/folding/nova/nifs/nova.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use crate::utils::vec::{hadamard, mat_vec_mul, vec_add, vec_scalar_mul, vec_sub}
use crate::{Curve, Error};

/// ChallengeGadget computes the RO challenge used for the Nova instances NIFS, it contains a
/// rust-native and a in-circuit compatible versions.
/// rust-native and an in-circuit compatible versions.
pub struct ChallengeGadget<C: Curve, CI: Absorb> {
_c: PhantomData<C>,
_ci: PhantomData<CI>,
Expand Down
2 changes: 1 addition & 1 deletion folding-schemes/src/utils/espresso/virtual_polynomial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ impl<F: PrimeField> VirtualPolynomial<F> {
}
}

/// Creates an new virtual polynomial from a MLE and its coefficient.
/// Creates a new virtual polynomial from a MLE and its coefficient.
pub fn new_from_mle(mle: &Arc<DenseMultilinearExtension<F>>, coefficient: F) -> Self {
let mle_ptr: *const DenseMultilinearExtension<F> = Arc::as_ptr(mle);
let mut hm = HashMap::new();
Expand Down
2 changes: 1 addition & 1 deletion folding-schemes/src/utils/gadgets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use crate::utils::vec::SparseMatrix;

/// `EquivalenceGadget` enforces that two in-circuit variables are equivalent,
/// where the equivalence relation is parameterized by `M`:
/// - For `FpVar`, it is simply a equality relation, and `M` is unused.
/// - For `FpVar`, it is simply an equality relation, and `M` is unused.
/// - For `NonNativeUintVar`, we consider equivalence as a congruence relation,
/// in terms of modular arithmetic, so `M` specifies the modulus.
pub trait EquivalenceGadget<M> {
Expand Down
Loading