mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-03 14:37:45 +00:00
factor::Factors: Derive Clone and Debug
Useful for printing out in-progress factorisations when debugging.
This commit is contained in:
parent
7bdc81b882
commit
e9e263ac66
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ use std::fmt;
|
|||
use crate::numeric::{Arithmetic, Montgomery};
|
||||
use crate::{miller_rabin, rho, table};
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct Factors {
|
||||
f: BTreeMap<u64, u8>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue