Skip to content

Commit a0ffabd

Browse files
authored
Merge pull request #2196 from stanlagermin/fix_typos
fix typos
2 parents 16e71e8 + b6736c5 commit a0ffabd

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

algorithms/src/fft/polynomial/dense.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ mod tests {
700700
multiplier.add_polynomial(a.clone(), "a");
701701
assert_eq!(multiplier.multiply().unwrap(), a);
702702

703-
// Note PolyMultiplier doesn't support a evluations with no polynomials
703+
// Note PolyMultiplier doesn't support a evaluations with no polynomials
704704
}
705705

706706
#[test]

algorithms/src/polycommit/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pub enum PCError {
6969
#[error("The degree provided to `trim` was too large.")]
7070
TrimmingDegreeTooLarge,
7171

72-
#[error("the eqaution \"{0}\" contained degree-bounded polynomials")]
72+
#[error("the equation \"{0}\" contained degree-bounded polynomials")]
7373
EquationHasDegreeBounds(String),
7474

7575
#[error("the degree bound ({0}) is not supported by the parameters")]

algorithms/src/polycommit/sonic_pc/polynomial.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ impl<'a, F: PrimeField> LabeledPolynomialWithBasis<'a, F> {
223223
let mut lagrange_polys = HashMap::<usize, Vec<_>>::new();
224224
let mut dense_polys = HashMap::<_, DensePolynomial<F>>::new();
225225
let mut sparse_poly = SparsePolynomial::zero();
226-
// We have sets of polynomials divided along three critera:
226+
// We have sets of polynomials divided along three criteria:
227227
// 1. All `Lagrange` polynomials are in the set corresponding to their domain.
228228
// 2. All `Dense` polynomials are in the set corresponding to their degree bound.
229229
// 3. All `Sparse` polynomials are in the set corresponding to their degree bound.

curves/src/templates/bls12/bls12.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ where
193193
// r = f^((p^6 - 1)(p^2 + 1))
194194
r *= &f2;
195195

196-
// Hard part of the final exponentation is below:
196+
// Hard part of the final exponentiation is below:
197197
// From https://eprint.iacr.org/2016/130.pdf, Table 1
198198
let mut y0 = r.cyclotomic_square();
199199
y0.conjugate();

synthesizer/process/src/stack/register_types/initialize.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ impl<N: Network> RegisterTypes<N> {
3434

3535
// Step 2. Check the instructions are well-formed.
3636
for instruction in closure.instructions() {
37-
// Ensure the closure contains no aysnc instructions.
37+
// Ensure the closure contains no async instructions.
3838
ensure!(instruction.opcode() != Opcode::Async, "An 'async' instruction is not allowed in closures");
3939
// Ensure the closure contains no call instructions.
4040
ensure!(instruction.opcode() != Opcode::Call, "A 'call' instruction is not allowed in closures");

synthesizer/process/src/tests/test_execute.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ fn test_process_output_operand() {
880880
)
881881
.unwrap();
882882

883-
// Initalize the RNG.
883+
// Initialize the RNG.
884884
let rng = &mut TestRng::default();
885885

886886
// Initialize a new caller account.

0 commit comments

Comments
 (0)