From 14c9213492254f9eab2f3dd7f23621b197f13dd5 Mon Sep 17 00:00:00 2001 From: ibmp33 <2285673866@qq.com> Date: Thu, 25 Apr 2024 21:14:31 +0800 Subject: [PATCH] chore: remove dead code --- starky/src/stark_setup.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/starky/src/stark_setup.rs b/starky/src/stark_setup.rs index 342902b6..774e1bdd 100644 --- a/starky/src/stark_setup.rs +++ b/starky/src/stark_setup.rs @@ -34,14 +34,6 @@ impl StarkSetup { let nBitsExt = stark_struct.nBitsExt; assert_eq!(const_pol.nPols, pil.nConstants); - let mut p: Vec> = vec![Vec::new(); const_pol.nPols]; - for i in 0..const_pol.nPols { - p[i] = vec![FGL::ZERO; const_pol.n]; - p[i].par_iter_mut().enumerate().for_each(|(j, out)| { - *out = const_pol.array[i][j]; - }); - } - log::trace!("Write const pol buff and interpolate"); let const_buff = const_pol.write_buff(); //extend and merkelize