[libmath-prime-util-perl] 38/181: Fixup for earlier sieve count change
Partha P. Mukherjee
ppm-guest at moszumanska.debian.org
Thu May 21 18:51:04 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 8f2edbd2f689d8d1670bccb51bc2a51cdadffbbc
Author: Dana Jacobsen <dana at acm.org>
Date: Mon Dec 23 02:08:16 2013 -0800
Fixup for earlier sieve count change
---
util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util.c b/util.c
index a9e5e2e..ad7f273 100644
--- a/util.c
+++ b/util.c
@@ -584,7 +584,7 @@ UV _XS_prime_count(UV low, UV high)
}
low_d = segment_size;
- low = 30*low_d;
+ if (30*low_d > low) low = 30*low_d;
}
release_prime_cache(cache_sieve);
--
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