Skip to content

Commit 3d9a6c4

Browse files
committed
remove constexpr on init for max_op
1 parent cb9333f commit 3d9a6c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stan/math/opencl/kernel_generator/rowwise_reduction.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ struct max_op {
407407
return "max(" + a + ", " + b + ")";
408408
}
409409

410-
inline static constexpr std::string init() {
410+
inline static std::string init() {
411411
if constexpr (std::is_floating_point<T>()) {
412412
return "-INFINITY";
413413
}

0 commit comments

Comments
 (0)