mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 13:16:44 +01:00
Fixes after meeting
This commit is contained in:
@@ -24,6 +24,10 @@ impl LookUpTable {
|
||||
Self { data, basek, k }
|
||||
}
|
||||
|
||||
pub fn log_extension_factor(&self) -> usize {
|
||||
(usize::BITS - (self.extension_factor() - 1).leading_zeros()) as _
|
||||
}
|
||||
|
||||
pub fn extension_factor(&self) -> usize {
|
||||
self.data.len()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user