[libmath-prime-util-perl] 141/181: decl after code fix

Partha P. Mukherjee ppm-guest at moszumanska.debian.org
Thu May 21 18:51:15 UTC 2015


This is an automated email from the git hooks/post-receive script.

ppm-guest pushed a commit to annotated tag v0.36
in repository libmath-prime-util-perl.

commit 5370db0812d245ea6b0b22a0a13646cdb1e2e8fb
Author: Dana Jacobsen <dana at acm.org>
Date:   Wed Jan 8 17:24:08 2014 -0800

    decl after code fix
---
 factor.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/factor.c b/factor.c
index addd4dd..d679550 100644
--- a/factor.c
+++ b/factor.c
@@ -232,9 +232,9 @@ int trial_factor(UV n, UV *factors, UV maxtrial)
     }
     /* Trial division using a mod-30 wheel for larger values */
     if (f*f <= n && f <= maxtrial) {
-      UV newlimit, limit = isqrt(n);
+      UV m, newlimit, limit = isqrt(n);
       if (limit > maxtrial) limit = maxtrial;
-      UV m = f % 30;
+      m = f % 30;
       while (f <= limit) {
         if ( (n%f) == 0 ) {
           do {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmath-prime-util-perl.git



More information about the Pkg-perl-cvs-commits mailing list