Skip to content

Commit

Permalink
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
Browse files Browse the repository at this point in the history
  • Loading branch information
stan-buildbot committed Aug 7, 2023
1 parent c82075e commit 6ac1db4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stan/math/prim/fun/select.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ template <typename T_bool, typename T_true, typename T_false,
inline auto select(const T_bool c, const T_true y_true, const T_false y_false) {
using ret_t = return_type_t<T_true, T_false>;
return c
.unaryExpr(
[y_true, y_false](bool cond) {
return cond ? ret_t(y_true) : ret_t(y_false); })
.unaryExpr([y_true, y_false](bool cond) {
return cond ? ret_t(y_true) : ret_t(y_false);
})
.eval();
}

Expand Down

0 comments on commit 6ac1db4

Please sign in to comment.