summaryrefslogtreecommitdiff
path: root/content/math/lgsFp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'content/math/lgsFp.cpp')
-rw-r--r--content/math/lgsFp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/math/lgsFp.cpp b/content/math/lgsFp.cpp
index bf18c86..64e4c09 100644
--- a/content/math/lgsFp.cpp
+++ b/content/math/lgsFp.cpp
@@ -7,7 +7,7 @@ void takeAll(int n, int line, ll p) {
for (int i = 0; i < n; i++) {
if (i == line) continue;
ll diff = mat[i][line];
- for (int j = 0; j < sz(mat[i]); j++) {
+ for (int j = 0; j < ssize(mat[i]); j++) {
mat[i][j] -= (diff * mat[line][j]) % p;
mat[i][j] = (mat[i][j] + p) % p;
}}}