mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 05:06:44 +01:00
fixed tests
This commit is contained in:
@@ -114,6 +114,16 @@ impl SvpPPolOps for Module {
|
|||||||
c.limbs(),
|
c.limbs(),
|
||||||
b_limbs
|
b_limbs
|
||||||
);
|
);
|
||||||
unsafe { svp::svp_apply_dft(self.0, c.0, b_limbs as u64, a.0, b.as_ptr(), b_limbs as u64, b.n() as u64) }
|
unsafe {
|
||||||
|
svp::svp_apply_dft(
|
||||||
|
self.0,
|
||||||
|
c.0,
|
||||||
|
b_limbs as u64,
|
||||||
|
a.0,
|
||||||
|
b.as_ptr(),
|
||||||
|
b_limbs as u64,
|
||||||
|
b.n() as u64,
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -189,7 +189,7 @@ pub trait VmpPMatOps {
|
|||||||
/// let rows: usize = 5;
|
/// let rows: usize = 5;
|
||||||
/// let cols: usize = 6;
|
/// let cols: usize = 6;
|
||||||
///
|
///
|
||||||
/// let vecznx: module.new_vec_znx(cols);
|
/// let vecznx = module.new_vec_znx(cols);
|
||||||
///
|
///
|
||||||
/// let mut buf: Vec<u8> = vec![u8::default(); module.vmp_prepare_tmp_bytes(rows, cols)];
|
/// let mut buf: Vec<u8> = vec![u8::default(); module.vmp_prepare_tmp_bytes(rows, cols)];
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user