Skip to content

Commit

Permalink
chore: remove useless comment
Browse files Browse the repository at this point in the history
  • Loading branch information
skyf0l committed Nov 10, 2024
1 parent 85eb180 commit 05b61b5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ pub fn fast_factor(n: &Integer) -> HashMap<Integer, usize> {
for prime in Primes::all().take(1_000_000) {
let prime = Integer::from(prime);
if n.clone().div_rem(prime.clone()).1 == 0 {
// factors.insert(prime.clone(), 1);
while n.clone().div_rem(prime.clone()).1 == 0 {
n /= &prime;
*factors.entry(prime.clone()).or_insert(0) += 1;
Expand Down

0 comments on commit 05b61b5

Please sign in to comment.