mirror of
https://github.com/status-im/c-kzg-4844.git
synced 2025-02-28 17:50:32 +00:00
Add missing return statements
This commit is contained in:
parent
0558dbaba8
commit
4d2c26a428
@ -36,9 +36,12 @@ void poly_eval(blst_fr *out, const poly *p, const blst_fr *x) {
|
||||
|
||||
if (p->length == 0) {
|
||||
fr_from_uint64(out, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
if (fr_is_zero(x)) {
|
||||
*out = p->coeffs[0];
|
||||
return;
|
||||
}
|
||||
|
||||
// Horner's method
|
||||
|
Loading…
x
Reference in New Issue
Block a user