Skip to content

Commit 43a4f27

Browse files
stan-buildbotsyclik
authored andcommitted
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
1 parent 44ba284 commit 43a4f27

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

stan/math/prim/fun/log_gamma_q_dgamma.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,7 @@ inline log_gamma_q_result<return_type_t<T_a, T_z>> log_gamma_q_dgamma(
120120

121121
// For z > a + 1, use continued fraction for better numerical stability
122122
if (z_dbl > a_dbl + 1.0) {
123-
result.log_q
124-
= internal::log_q_gamma_cf(a_dbl, z_dbl, max_steps, precision);
123+
result.log_q = internal::log_q_gamma_cf(a_dbl, z_dbl, max_steps, precision);
125124

126125
// For gradient, use: d/da log(Q) = (1/Q) * dQ/da
127126
// grad_reg_inc_gamma computes dQ/da

test/unit/math/prim/prob/gamma_lccdf_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ TEST(ProbGamma, lccdf_alpha_gt_30_small_y_old_code_rounds_to_zero) {
9292
}
9393

9494
TEST(ProbGamma, lccdf_log1m_exp_lcdf_rounds_to_inf) {
95-
using stan::math::gamma_lcdf;
9695
using stan::math::gamma_lccdf;
96+
using stan::math::gamma_lcdf;
9797
using stan::math::log1m_exp;
9898
using stan::math::negative_infinity;
9999

test/unit/math/rev/prob/gamma_lccdf_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,8 @@ TEST(ProbDistributionsGamma,
273273
}
274274

275275
TEST(ProbDistributionsGamma, lccdf_log1m_exp_lcdf_rounds_to_inf) {
276-
using stan::math::gamma_lcdf;
277276
using stan::math::gamma_lccdf;
277+
using stan::math::gamma_lcdf;
278278
using stan::math::log1m_exp;
279279
using stan::math::negative_infinity;
280280
using stan::math::var;

0 commit comments

Comments
 (0)