mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 13:16:44 +01:00
fixed automorphism for ring and added test
This commit is contained in:
@@ -16,7 +16,7 @@ impl Ring<u64> {
|
||||
Self {
|
||||
n: n,
|
||||
modulus: prime.clone(),
|
||||
dft: Box::new(Table::<u64>::new(prime, (2 * n) as u64)),
|
||||
dft: Box::new(Table::<u64>::new(prime, n << 1)),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user