This commit is contained in:
Sean Bowe 2022-04-02 15:38:46 -06:00
parent 4163b8765a
commit fd7e9ddbb0
No known key found for this signature in database
GPG Key ID: 95684257D8F8B031
1 changed files with 4 additions and 1 deletions

View File

@ -205,7 +205,10 @@ impl<E, F: Field, B: Basis> Evaluator<E, F, B> {
/// Returns the actual size of the chunk we're operating on in this
/// context, which may be smaller than `chunk_size`.
fn local_chunk_size(&self) -> usize {
cmp::min(self.chunk_size, self.poly_len - self.chunk_size * self.chunk_index)
cmp::min(
self.chunk_size,
self.poly_len - self.chunk_size * self.chunk_index,
)
}
}