mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 13:16:44 +01:00
clippy
This commit is contained in:
@@ -116,7 +116,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
res.set_p((p * key.p()) % (self.cyclotomic_order() as i64));
|
||||
res.set_p((p * key.p()) % self.cyclotomic_order());
|
||||
}
|
||||
|
||||
fn glwe_automorphism_key_automorphism_inplace<R, K>(&self, res: &mut R, key: &K, scratch: &mut Scratch<BE>)
|
||||
@@ -160,6 +160,6 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
res.set_p((res.p() * key.p()) % (self.cyclotomic_order() as i64));
|
||||
res.set_p((res.p() * key.p()) % self.cyclotomic_order());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user