We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce0f723 commit f85d116Copy full SHA for f85d116
crates/prover/src/core/backend/icicle/circle.rs
@@ -105,7 +105,7 @@ impl PolyOps for IcicleBackend {
105
106
fn extend(poly: &CirclePoly<Self>, log_size: u32) -> CirclePoly<Self> {
107
assert!(log_size >= poly.log_size());
108
- let count_zeros_to_extend = 1 << (log_size-1) - poly.coeffs.len() as u32;
+ let count_zeros_to_extend = poly.coeffs.len();
109
let coeffs = DeviceVec::cuda_malloc_extend_with_zeros(&poly.coeffs.data, count_zeros_to_extend).unwrap();
110
CirclePoly::new(DeviceColumn {data: coeffs})
111
}
0 commit comments