Skip to content

Commit 71653a3

Browse files
committed
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
1 parent 7825fdf commit 71653a3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • stan/math/opencl/kernels/device_functions

stan/math/opencl/kernels/device_functions/lbeta.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ static const char* lbeta_device_function
109109
double stirling_diff = lgamma_stirling_diff(x)
110110
+ lgamma_stirling_diff(y)
111111
- lgamma_stirling_diff(x + y);
112-
double stirling = (x - 0.5) * (log(x) - log_xpy) + y * log1p(-x_over_xy)
112+
double stirling = (x - 0.5) * (log(x) - log_xpy)
113+
+ y * log1p(-x_over_xy)
113114
+ 0.5 * (M_LN2 + log(M_PI)) - 0.5 * log(y);
114115
return stirling + stirling_diff;
115116
}

0 commit comments

Comments
 (0)