mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 13:16:44 +01:00
wip
This commit is contained in:
@@ -38,7 +38,7 @@ impl<D: DataRef, T: UnsignedInteger> LWEInfos for FheUintBlocks<D, T> {
|
||||
self.blocks[0].k()
|
||||
}
|
||||
|
||||
fn n(&self) -> poulpy_core::layouts::Degree {
|
||||
fn n(&self) -> poulpy_core::layouts::RingDegree {
|
||||
self.blocks[0].n()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -225,7 +225,7 @@ impl<D: DataRef, T: UnsignedInteger, B: Backend> LWEInfos for FheUintBlocksPrep<
|
||||
self.blocks[0].k()
|
||||
}
|
||||
|
||||
fn n(&self) -> poulpy_core::layouts::Degree {
|
||||
fn n(&self) -> poulpy_core::layouts::RingDegree {
|
||||
self.blocks[0].n()
|
||||
}
|
||||
}
|
||||
@@ -256,7 +256,7 @@ impl<D: DataRef, T: UnsignedInteger> LWEInfos for FheUintBlocksPrepDebug<D, T> {
|
||||
self.blocks[0].k()
|
||||
}
|
||||
|
||||
fn n(&self) -> poulpy_core::layouts::Degree {
|
||||
fn n(&self) -> poulpy_core::layouts::RingDegree {
|
||||
self.blocks[0].n()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ impl<D: DataRef, T: UnsignedInteger> LWEInfos for FheUintWord<D, T> {
|
||||
self.0.k()
|
||||
}
|
||||
|
||||
fn n(&self) -> poulpy_core::layouts::Degree {
|
||||
fn n(&self) -> poulpy_core::layouts::RingDegree {
|
||||
self.0.n()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user