improved alligned vec allocation & fixed vec_znx calls, fixed auto dft test

This commit is contained in:
Jean-Philippe Bossuat
2025-04-26 11:23:47 +02:00
parent 2a96f89047
commit 82082db727
6 changed files with 113 additions and 67 deletions

View File

@@ -73,7 +73,13 @@ impl VecZnxBig<FFT64> {
// Prints the first `n` coefficients of each limb
pub fn print(&self, n: usize) {
let raw: &[i64] = self.raw();
(0..self.limbs()).for_each(|i| println!("{}: {:?}", i, &raw[i * self.n() * self.cols()..i * self.n() * self.cols()+n]))
(0..self.limbs()).for_each(|i| {
println!(
"{}: {:?}",
i,
&raw[i * self.n() * self.cols()..i * self.n() * self.cols() + n]
)
})
}
}