Skip to content

Commit 5ec57f7

Browse files
committed
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
1 parent 88eaa7c commit 5ec57f7

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

stan/math/prim/fun/inv_logit.hpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,16 @@ struct inv_logit_fun {
7373
}
7474
};
7575

76-
7776
/**
7877
* Vectorized version of inv_logit() for Eigen types.
7978
*
80-
* @tparam T A type inheriting from `Eigen::DenseBase` that does not have a `var` scalar type.
79+
* @tparam T A type inheriting from `Eigen::DenseBase` that does not have a
80+
* `var` scalar type.
8181
* @param x Eigen expression
8282
* @return Inverse logit applied to each value in x.
8383
*/
8484
template <typename T, require_eigen_t<T>* = nullptr,
85-
require_not_vt_var<T>* = nullptr>
85+
require_not_vt_var<T>* = nullptr>
8686
inline auto inv_logit(T&& x) {
8787
return std::forward<T>(x).array().logistic().matrix();
8888
}
@@ -96,7 +96,8 @@ inline auto inv_logit(T&& x) {
9696
*/
9797
template <typename T, require_std_vector_t<T>* = nullptr>
9898
inline auto inv_logit(T&& x) {
99-
return apply_scalar_unary<inv_logit_fun, std::decay_t<T>>::apply(std::forward<T>(x));
99+
return apply_scalar_unary<inv_logit_fun, std::decay_t<T>>::apply(
100+
std::forward<T>(x));
100101
}
101102

102103
} // namespace math

0 commit comments

Comments
 (0)