We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cadf1b1 commit fcfbb6cCopy full SHA for fcfbb6c
1 file changed
stan/math/opencl/rev/matrix_power.hpp
@@ -34,7 +34,7 @@ inline var_value<matrix_cl<double>> matrix_power(const var_value<T>& M,
34
if (M.size() == 0)
35
return M;
36
37
- size_t N = M.rows();
+ auto N = M.rows();
38
39
if (n == 0) {
40
return diag_matrix(constant(1.0, N, 1));
0 commit comments