Small mod for correct "factorization of products"
rickhg12hs opened this issue · 1 comments
rickhg12hs commented
So this would create a factorization of 10*20
...
myfact = factor(10)
Primes.factor!(20, myfact)
Could this line ...
Line 270 in acc31a4
be changed to:
isprime(n) && (h[n] = get(h, n, 0) + 1; return h)
?
oscardssmith commented
fixed by #58