From 3f934d1f8ce235d4cbf2f95f140d8b653a187af2 Mon Sep 17 00:00:00 2001 From: Alexander Wu Date: Sun, 15 Jan 2023 17:54:09 -0800 Subject: [PATCH] Fix typo in docs Co-authored-by: Pratyush Mishra --- ff/src/fields/sqrt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ff/src/fields/sqrt.rs b/ff/src/fields/sqrt.rs index 778893246..5ff43aad4 100644 --- a/ff/src/fields/sqrt.rs +++ b/ff/src/fields/sqrt.rs @@ -71,7 +71,7 @@ pub enum SqrtPrecomputation { /// * First factor _q - 1 = 2^s t_ where _t_ is odd. /// * `two_adicity` - _s_. /// * `quadratic_nonresidue_to_trace` - _c^t_, with random _c_ such that _c^2^(s - 1) = 1_. - /// * `trace_of_modulus_minus_one_div_two` - _(t - 1)/2 + 1_. + /// * `trace_of_modulus_minus_one_div_two` - _(t - 1)/2_. TonelliShanks { two_adicity: u32, quadratic_nonresidue_to_trace: F,