mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-09 20:50:35 +00:00
Fix typo in code comment
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
f874d29238
commit
c10960351d
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ pub trait SqrtRatio: ff::PrimeField {
|
||||||
// { G_S*num/div otherwise
|
// { G_S*num/div otherwise
|
||||||
//
|
//
|
||||||
// Since G_S is non-square, a and b are either both zero (and both square), or
|
// Since G_S is non-square, a and b are either both zero (and both square), or
|
||||||
// only one them is square. We can therefore choose the square root to return
|
// only one of them is square. We can therefore choose the square root to return
|
||||||
// based on whether a is square, but for the boolean output we need to handle the
|
// based on whether a is square, but for the boolean output we need to handle the
|
||||||
// num != 0 && div == 0 case specifically.
|
// num != 0 && div == 0 case specifically.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue