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 66ab23f commit c72e175Copy full SHA for c72e175
1 file changed
test/unit/math/opencl/util.hpp
@@ -233,11 +233,11 @@ T to_vector_if(const T& x, std::size_t N) {
233
234
using stan::math::rows;
235
template <typename T, require_not_container_t<T>* = nullptr>
236
-int rows(const T&) {
+int64_t rows(const T&) {
237
return 1;
238
}
239
template <typename T, require_std_vector_t<T>* = nullptr>
240
-int rows(const T& x) {
+int64_t rows(const T& x) {
241
return x.size();
242
243
0 commit comments