File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33#ifdef STAN_OPENCL
44
55#include < stan/math/opencl/matrix_cl.hpp>
6+ #include < cstdint>
67
78namespace stan {
89namespace math {
@@ -17,7 +18,7 @@ namespace math {
1718 */
1819template <typename T_x,
1920 require_nonscalar_prim_or_rev_kernel_expression_t <T_x>* = nullptr >
20- inline int cols (const T_x& x) {
21+ inline int64_t cols (const T_x& x) {
2122 return x.cols ();
2223}
2324} // namespace math
Original file line number Diff line number Diff line change 33#ifdef STAN_OPENCL
44
55#include < stan/math/opencl/matrix_cl.hpp>
6+ #include < cstdint>
67
78namespace stan {
89namespace math {
@@ -18,7 +19,7 @@ namespace math {
1819
1920template <typename T_x,
2021 require_nonscalar_prim_or_rev_kernel_expression_t <T_x>* = nullptr >
21- inline int rows (const T_x& x) {
22+ inline int64_t rows (const T_x& x) {
2223 return x.rows ();
2324}
2425
You can’t perform that action at this time.
0 commit comments