Skip to content

Commit fcfbb6c

Browse files
committed
Test fix
1 parent cadf1b1 commit fcfbb6c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stan/math/opencl/rev/matrix_power.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ inline var_value<matrix_cl<double>> matrix_power(const var_value<T>& M,
3434
if (M.size() == 0)
3535
return M;
3636

37-
size_t N = M.rows();
37+
auto N = M.rows();
3838

3939
if (n == 0) {
4040
return diag_matrix(constant(1.0, N, 1));

0 commit comments

Comments
 (0)