summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/chineseRemainder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/chineseRemainder.cpp b/math/chineseRemainder.cpp
index b02de48..ccbc5dc 100644
--- a/math/chineseRemainder.cpp
+++ b/math/chineseRemainder.cpp
@@ -5,7 +5,7 @@ struct CRT {
// Adds congruence x = a (mod m)
void add(ll a, ll m) {
- auto [d, s, t] = extendedEuclid(M, m);
+ auto [d, s, t] = extendedEuclid(M, m);
if((a - sol) % d != 0) hasSol = false;
lll z = M/d * s;
M *= m/d;