[libmath-prime-util-perl] 21/54: Typo in bigint section

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


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

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

commit 5c2ca944b3cfcd8c455e1de4ccabb94e3a544875
Author: Dana Jacobsen <dana at acm.org>
Date:   Tue Feb 4 15:57:08 2014 -0800

    Typo in bigint section
---
 examples/inverse_totient.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/inverse_totient.pl b/examples/inverse_totient.pl
index f984707..5e5153a 100644
--- a/examples/inverse_totient.pl
+++ b/examples/inverse_totient.pl
@@ -31,7 +31,7 @@ sub inverse_euler_phi {
     eval { use Math::GMPz; $do_bigint = "Math::GMPz"; 1; } || 
     eval { use Math::GMP; $do_bigint = "Math::GMP"; 1; } || 
     eval { use Math::BigInt try=>"GMP,Pari"; $do_bigint = "Math::BigInt"; 1; };
-    $N = $do_bigint->new("$n");
+    $N = $do_bigint->new("$N");
   }
 
   return wantarray ? (1,2) : 2 if $N == 1;

-- 
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