mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 13:16:44 +01:00
fixed potential buffer overflow & added vec_znx_normalize_tmp_bytes
This commit is contained in:
@@ -439,6 +439,7 @@ impl VmpPMatOps for Module {
|
||||
}
|
||||
|
||||
fn vmp_prepare_row(&self, b: &mut VmpPMat, a: &[i64], row_i: usize, buf: &mut [u8]) {
|
||||
debug_assert!(a.len() == b.cols() * self.n());
|
||||
unsafe {
|
||||
vmp::vmp_prepare_row(
|
||||
self.0,
|
||||
|
||||
Reference in New Issue
Block a user