merge VecZnxApi + Infos into VecZnxCommon + updated VecZnxApi generics

This commit is contained in:
Jean-Philippe Bossuat
2025-02-24 16:39:47 +01:00
parent cac4b3549d
commit 1a583ea0db
3 changed files with 98 additions and 50 deletions

View File

@@ -1,4 +1,4 @@
use base2k::{Infos, Module, VecZnx, VecZnxApi, VecZnxBorrow, VecZnxOps, VmpPMat, VmpPMatOps};
use base2k::{Infos, Module, VecZnx, VecZnxBorrow, VecZnxOps, VmpPMat, VmpPMatOps};
use crate::parameters::Parameters;
@@ -19,7 +19,7 @@ pub struct Elem<T> {
pub log_scale: usize,
}
pub trait VecZnxCommon: VecZnxApi + Infos {}
pub trait VecZnxCommon: base2k::VecZnxCommon {}
impl VecZnxCommon for VecZnx {}
impl VecZnxCommon for VecZnxBorrow {}