summaryrefslogtreecommitdiff
path: root/content/math/matrixPower.cpp
diff options
context:
space:
mode:
authorGloria Mundi <gloria@gloria-mundi.eu>2024-11-16 21:17:29 +0100
committerGloria Mundi <gloria@gloria-mundi.eu>2024-11-16 21:17:29 +0100
commit1880ccb6d85c6eb79e724593457877bab431951c (patch)
tree23eddd5bd0b29b3024e170a5ef9023eda9226ab5 /content/math/matrixPower.cpp
parente95f59debd69ee7d45d5c966ce466d23264e1c3c (diff)
get rid of all() and sz()
Diffstat (limited to 'content/math/matrixPower.cpp')
-rw-r--r--content/math/matrixPower.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/math/matrixPower.cpp b/content/math/matrixPower.cpp
index d981e6e..0729c15 100644
--- a/content/math/matrixPower.cpp
+++ b/content/math/matrixPower.cpp
@@ -1,7 +1,7 @@
vector<mat> pows;
void precalc(mat m) {
- pows = {mat(sz(m.m), 1), m};
+ pows = {mat(ssize(m.m), 1), m};
for (int i = 1; i < 60; i++) pows.push_back(pows[i] * pows[i]);
}