conversions tests

This commit is contained in:
Pro7ech
2025-10-20 17:20:34 +02:00
parent 1e2478852e
commit d4c936e04c
9 changed files with 99 additions and 125 deletions

View File

@@ -206,3 +206,13 @@ impl<D: DataMut, B: Backend> GLWESwitchingKeyDegreesMut for GLWEToLWESwitchingKe
&mut self.0.output_degree
}
}
impl<D: DataRef, B: Backend> GLWESwitchingKeyDegrees for GLWEToLWESwitchingKeyPrepared<D, B> {
fn input_degree(&self) -> &Degree {
&self.0.input_degree
}
fn output_degree(&self) -> &Degree {
&self.0.output_degree
}
}