Skip to content

Commit

Permalink
use ll in pow
Browse files Browse the repository at this point in the history
  • Loading branch information
Thalisson-Alves committed Sep 2, 2024
1 parent d6a1626 commit cf8ff22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/primitives/matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ template <typename T> struct Matrix {
return res;
}

Matrix<T> pow(int power) const {
Matrix<T> pow(ll power) const {
assert(n() == m());

auto res = Matrix<T>::identity(n());
Expand Down

0 comments on commit cf8ff22

Please sign in to comment.