From 1880ccb6d85c6eb79e724593457877bab431951c Mon Sep 17 00:00:00 2001 From: Gloria Mundi Date: Sat, 16 Nov 2024 21:17:29 +0100 Subject: get rid of all() and sz() --- content/math/matrixPower.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content/math/matrixPower.cpp') 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 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]); } -- cgit v1.2.3