mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-02-09 08:23:09 +00:00
tweak len
This commit is contained in:
parent
3fc5ff4fff
commit
8ec78fc0c1
@ -27,7 +27,7 @@ impl<F: Field> PolynomialValues<F> {
|
||||
}
|
||||
|
||||
/// The number of values stored.
|
||||
pub(crate) fn len(&self) -> usize {
|
||||
pub fn len(&self) -> usize {
|
||||
self.values.len()
|
||||
}
|
||||
|
||||
|
||||
@ -24,8 +24,8 @@ pub fn fri_proof<F: RichField + Extendable<D>, C: GenericConfig<D, F = F>, const
|
||||
fri_params: &FriParams,
|
||||
timing: &mut TimingTree,
|
||||
) -> FriProof<F, C::Hasher, D> {
|
||||
let n = lde_polynomial_values.values.len();
|
||||
assert_eq!(lde_polynomial_coeffs.coeffs.len(), n);
|
||||
let n = lde_polynomial_values.len();
|
||||
assert_eq!(lde_polynomial_coeffs.len(), n);
|
||||
|
||||
// Commit phase
|
||||
let (trees, final_coeffs) = timed!(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user