Skip to content

Commit 1dc37b0

Browse files
committed
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
1 parent 9aeb3e9 commit 1dc37b0

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

stan/math/prim/fun/bessel_second_kind.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ inline T2 bessel_second_kind(int v, const T2 z) {
5353
* @return Bessel second kind function applied to the two inputs.
5454
*/
5555
template <typename T1, typename T2, require_any_container_t<T1, T2>* = nullptr,
56-
require_not_var_matrix_t<T2>* = nullptr>
56+
require_not_var_matrix_t<T2>* = nullptr>
5757
inline auto bessel_second_kind(T1&& a, T2&& b) {
5858
return apply_scalar_binary(
5959
[](auto&& c, auto&& d) {

stan/math/rev/fun/bessel_second_kind.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
namespace stan {
99
namespace math {
1010

11-
template <typename T1, typename T2, require_st_integral<T1>* = nullptr, require_var_t<T2>* = nullptr>
11+
template <typename T1, typename T2, require_st_integral<T1>* = nullptr,
12+
require_var_t<T2>* = nullptr>
1213
inline auto bessel_second_kind(T1&& v, T2&& a) {
1314
if constexpr (is_stan_scalar_v<T2>) {
1415
double ret_val = bessel_second_kind(v, a.val());
@@ -22,7 +23,7 @@ inline auto bessel_second_kind(T1&& v, T2&& a) {
2223
auto v_map = as_array_or_scalar(v);
2324
auto precomp_bessel
2425
= to_arena(v_map * ret_val / a.val().array()
25-
- bessel_second_kind(v_map + 1, a.val().array()));
26+
- bessel_second_kind(v_map + 1, a.val().array()));
2627
return make_callback_var(
2728
ret_val.matrix(), [precomp_bessel, a](const auto& vi) mutable {
2829
a.adj().array() += vi.adj().array() * precomp_bessel;

0 commit comments

Comments
 (0)