mirror of
https://github.com/arnaucube/fhe-study.git
synced 2026-01-24 04:33:52 +01:00
bfv: get rid of constant generics (reason in previous commit)
This commit is contained in:
@@ -22,8 +22,8 @@ use crate::Ring;
|
||||
/// The implementation assumes that q is prime.
|
||||
#[derive(Clone)]
|
||||
pub struct Rq {
|
||||
pub(crate) q: u64, // TODO think if really needed or it's fine with coeffs[0].q
|
||||
pub(crate) n: usize,
|
||||
pub q: u64, // TODO think if really needed or it's fine with coeffs[0].q
|
||||
pub n: usize,
|
||||
|
||||
pub(crate) coeffs: Vec<Zq>,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user