Skip to content

Commit b642120

Browse files
authored
fix: typos in documentation files (#395)
Update domain.rs
1 parent 42b7a54 commit b642120

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

halo2_backend/src/poly/domain.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,12 +246,12 @@ impl<F: WithSmallOrderMulGroup<3>> EvaluationDomain<F> {
246246
// Compute L_i(X) in the extended co-domain, where
247247
// L_i(X)is the ith Lagrange polynomial in the original domain,
248248
// H = {1, g, g^2, ..., g^(n-1)}.
249-
// We compute its represenation in the extended co-domain
249+
// We compute its representation in the extended co-domain
250250
// zH = {z, z*w, z*w^2, ... , z*w^(n*k - 1)}, where k is the extension factor
251251
// of the domain, and z is the extended root such that w^k = g.
252252
// We assume z = F::ZETA, a cubic root the field. This simplifies the computation.
253253
//
254-
// The computation uses the fomula:
254+
// The computation uses the formula:
255255
// L_i(X) = g^i/n * (X^n -1)/(X-g^i)
256256
pub fn lagrange_extended(&self, idx: usize) -> Polynomial<F, ExtendedLagrangeCoeff> {
257257
let one = F::ONE;

0 commit comments

Comments
 (0)