removed self from PrepareScratch trait

This commit is contained in:
Jean-Philippe Bossuat
2025-10-09 17:13:43 +02:00
parent 2884935a38
commit 312ecc7f2f
11 changed files with 17 additions and 17 deletions

View File

@@ -126,8 +126,8 @@ impl<DR: DataRef, B: Backend, A: GGLWEInfos> PrepareScratchSpace<B, A> for LWESw
where
GGLWESwitchingKeyPrepared<DR, B>: PrepareScratchSpace<B, A>,
{
fn prepare_scratch_space(&self, module: &Module<B>, infos: &A) -> usize {
self.0.prepare_scratch_space(module, infos)
fn prepare_scratch_space(module: &Module<B>, infos: &A) -> usize {
GGLWESwitchingKeyPrepared::<DR, B>::prepare_scratch_space(module, infos)
}
}