Skip to content

Commit f85d116

Browse files
VitaliiHVitaliiH
authored andcommitted
fix call to extend
1 parent ce0f723 commit f85d116

File tree

1 file changed

+1
-1
lines changed
  • crates/prover/src/core/backend/icicle

1 file changed

+1
-1
lines changed

crates/prover/src/core/backend/icicle/circle.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ impl PolyOps for IcicleBackend {
105105

106106
fn extend(poly: &CirclePoly<Self>, log_size: u32) -> CirclePoly<Self> {
107107
assert!(log_size >= poly.log_size());
108-
let count_zeros_to_extend = 1 << (log_size-1) - poly.coeffs.len() as u32;
108+
let count_zeros_to_extend = poly.coeffs.len();
109109
let coeffs = DeviceVec::cuda_malloc_extend_with_zeros(&poly.coeffs.data, count_zeros_to_extend).unwrap();
110110
CirclePoly::new(DeviceColumn {data: coeffs})
111111
}

0 commit comments

Comments
 (0)