Skip to content

Commit

Permalink
fix structure/matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
idat50me committed Dec 8, 2023
1 parent 29c7959 commit 867f41e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion structure/matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ template<typename T> struct matrix {

matrix pow(long long ex) {
matrix a = this->m;
assert(a.height() == a.width());
matrix res = identity(a.height());
while(ex > 0) {
if(ex & 1) res *= a;
Expand Down

0 comments on commit 867f41e

Please sign in to comment.