Update
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
c9a960a36f
commit
7c64f509d9
@ -105,7 +105,7 @@ def primalityTest(n)
|
||||
return true
|
||||
end
|
||||
|
||||
counter = 1000
|
||||
counter = 10000
|
||||
#counter = SecureRandom.random_number(3..n)
|
||||
while (counter != 0) do
|
||||
b = SecureRandom.random_number(2..n-2) # Tez dziala n-1
|
||||
|
Loading…
Reference in New Issue
Block a user