summaryrefslogtreecommitdiff
path: root/content/math/legendre.cpp
diff options
context:
space:
mode:
authormzuenni <michi.zuendorf@gmail.com>2026-08-28 12:18:31 +0200
committermzuenni <michi.zuendorf@gmail.com>2026-08-28 12:18:31 +0200
commit2af51264dee73108fd57df46609106722ad0ddfc (patch)
treed04e326cd30de2a8c4f2ad415ed7a2b6b82b2007 /content/math/legendre.cpp
parentd720779f7039d96f2752a67cb6146a04fc78d062 (diff)
resolvew name conflict...
Diffstat (limited to 'content/math/legendre.cpp')
-rw-r--r--content/math/legendre.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/math/legendre.cpp b/content/math/legendre.cpp
index b85ea2a..80825ea 100644
--- a/content/math/legendre.cpp
+++ b/content/math/legendre.cpp
@@ -1,4 +1,4 @@
-ll legendre(ll a, ll p) { // p prim >= 2
+ll legendreS(ll a, ll p) { // p prim >= 2
ll s = powMod(a, p / 2, p);
return s < 2 ? s : -1ll;
}