This commit is contained in:
Pratyush Mishra
2020-12-09 11:05:07 -08:00
parent 4e45f92ca9
commit 0486c30b3b
19 changed files with 95 additions and 65 deletions

View File

@@ -370,7 +370,7 @@ pub fn frobenius_test<F: Field, C: AsRef<[u64]>>(characteristic: C, maxpower: us
for power in 1..maxpower {
let mut a_qi = a;
a_qi.frobenius_map(power);
assert_eq!(a_qi, a_q);
assert_eq!(a_qi, a_q, "failed on power {}", power);
a_q = a_q.pow(&characteristic);
}