Commit 44e63496 authored by antoine lucas's avatar antoine lucas
Browse files

fix factoize out of bounds

parent a79903b3
......@@ -176,3 +176,4 @@ stopifnot(identical(D.D, tcrossprod(D,Dm)),
factorize("33162879029270137")
factorize(15959989)
\ No newline at end of file
R version 3.5.1 Patched (2018-07-21 r74998) -- "Feather Spray"
R Under development (unstable) (2018-07-14 r74963) -- "Unsuffered Consequences"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
......@@ -1197,7 +1197,10 @@ Big Integer ('bigz') 4 x 4 matrix:
Big Integer ('bigz') object of length 5:
[1] 7 29 11867 75679 181903
>
> factorize(15959989)
Big Integer ('bigz') object of length 2:
[1] 3989 4001
>
> proc.time()
user system elapsed
0.394 0.070 0.460
1.304 0.071 1.365
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment