factor::miller_rabin: Squash another bug! >:3

Detected by the testsuite improvement just prior.
This commit is contained in:
nicoo 2020-07-04 23:51:57 +02:00
parent 3d6fdffe14
commit cbcc760f83

View file

@ -57,7 +57,7 @@ pub(crate) fn test<A: Arithmetic + Basis>(m: A) -> Result {
for _a in A::BASIS.iter() {
let _a = _a % n;
if _a == 0 {
break;
continue;
}
let a = m.from_u64(_a);