mirror of
https://github.com/uutils/coreutils
synced 2024-11-17 10:18:11 +00:00
factor::miller_rabin: Squash another bug! >:3
Detected by the testsuite improvement just prior.
This commit is contained in:
parent
3d6fdffe14
commit
cbcc760f83
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue