Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oscardssmith committed Dec 15, 2024
1 parent 435a5e0 commit 45267e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Primes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ function QSfactor(n::T) where T
# Generate factor base
factor_base = [p for p in primes(B) if kronecker(n, p) == 1]

I = length(factor_base)#10*B # TODO: tune this
I = 10*B # TODO: tune this
factored, smooth_nums, xs, relations = find_relations(n, factor_base, I)
while !factored && length(xs) < length(factor_base) + 5
I *= 2
Expand Down

0 comments on commit 45267e8

Please sign in to comment.