Fix some whitespace issues

This commit is contained in:
Ramana Kumar 2022-09-19 19:49:11 +01:00
parent c0aa4eb2cc
commit cc049a05ca
No known key found for this signature in database
GPG Key ID: ED471C788B900433
3 changed files with 3 additions and 3 deletions

View File

@ -747,4 +747,4 @@ TEST_LIST = {
{NULL, NULL} /* zero record marks the end of the list */
};
#endif // KZGTEST
#endif // KZGTEST

View File

@ -132,4 +132,4 @@ void g2_dbl(g2_t *out, const g2_t *a);
void g1_linear_combination(g1_t *out, const g1_t *p, const fr_t *coeffs, const uint64_t len);
bool pairings_verify(const g1_t *a1, const g2_t *a2, const g1_t *b1, const g2_t *b2);
#endif // BLS12_381_H
#endif // BLS12_381_H

View File

@ -155,7 +155,7 @@ C_KZG_RET compute_proof_single_l(g1_t *out, const poly_l *p, const fr_t *x, cons
for (i = 0; i < q.length; i++) {
fr_mul(&q.values[i], &q.values[i], &inverses[i]);
}
}
if (m) { // ω_m == x
q.values[--m] = fr_zero;
for (i=0; i < q.length; i++) {