Skip to content

Commit 3d119ec

Browse files
committed
Formatting
1 parent df3eba3 commit 3d119ec

12 files changed

Lines changed: 13 additions & 26 deletions

stan/math/prim/prob/beta_lpdf.hpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,8 @@ return_type_t<T_y, T_scale_succ, T_scale_fail> beta_lpdf(
4848
const T_y& y, const T_scale_succ& alpha, const T_scale_fail& beta) {
4949
using T_partials_return = partials_return_t<T_y, T_scale_succ, T_scale_fail>;
5050
using T_y_ref = ref_type_if_not_const_t<T_y>;
51-
using T_alpha_ref
52-
= ref_type_if_not_const_t<T_scale_succ>;
53-
using T_beta_ref
54-
= ref_type_if_not_const_t<T_scale_fail>;
51+
using T_alpha_ref = ref_type_if_not_const_t<T_scale_succ>;
52+
using T_beta_ref = ref_type_if_not_const_t<T_scale_fail>;
5553
static const char* function = "beta_lpdf";
5654
check_consistent_sizes(function, "Random variable", y,
5755
"First shape parameter", alpha,

stan/math/prim/prob/exp_mod_normal_cdf.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ return_type_t<T_y, T_loc, T_scale, T_inv_scale> exp_mod_normal_cdf(
3434
using T_y_ref = ref_type_if_not_const_t<T_y>;
3535
using T_mu_ref = ref_type_if_not_const_t<T_loc>;
3636
using T_sigma_ref = ref_type_if_not_const_t<T_scale>;
37-
using T_lambda_ref
38-
= ref_type_if_not_const_t<T_inv_scale>;
37+
using T_lambda_ref = ref_type_if_not_const_t<T_inv_scale>;
3938
static const char* function = "exp_mod_normal_cdf";
4039
check_consistent_sizes(function, "Random variable", y, "Location parameter",
4140
mu, "Scale parameter", sigma, "Inv_scale paramter",

stan/math/prim/prob/exp_mod_normal_lccdf.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ return_type_t<T_y, T_loc, T_scale, T_inv_scale> exp_mod_normal_lccdf(
3535
using T_y_ref = ref_type_if_not_const_t<T_y>;
3636
using T_mu_ref = ref_type_if_not_const_t<T_loc>;
3737
using T_sigma_ref = ref_type_if_not_const_t<T_scale>;
38-
using T_lambda_ref
39-
= ref_type_if_not_const_t<T_inv_scale>;
38+
using T_lambda_ref = ref_type_if_not_const_t<T_inv_scale>;
4039
static const char* function = "exp_mod_normal_lccdf";
4140
check_consistent_sizes(function, "Random variable", y, "Location parameter",
4241
mu, "Scale parameter", sigma, "Inv_scale paramter",

stan/math/prim/prob/exp_mod_normal_lcdf.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ return_type_t<T_y, T_loc, T_scale, T_inv_scale> exp_mod_normal_lcdf(
3535
using T_y_ref = ref_type_if_not_const_t<T_y>;
3636
using T_mu_ref = ref_type_if_not_const_t<T_loc>;
3737
using T_sigma_ref = ref_type_if_not_const_t<T_scale>;
38-
using T_lambda_ref
39-
= ref_type_if_not_const_t<T_inv_scale>;
38+
using T_lambda_ref = ref_type_if_not_const_t<T_inv_scale>;
4039
static const char* function = "exp_mod_normal_lcdf";
4140
check_consistent_sizes(function, "Random variable", y, "Location parameter",
4241
mu, "Scale parameter", sigma, "Inv_scale paramter",

stan/math/prim/prob/exp_mod_normal_lpdf.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ return_type_t<T_y, T_loc, T_scale, T_inv_scale> exp_mod_normal_lpdf(
3333
using T_y_ref = ref_type_if_not_const_t<T_y>;
3434
using T_mu_ref = ref_type_if_not_const_t<T_loc>;
3535
using T_sigma_ref = ref_type_if_not_const_t<T_scale>;
36-
using T_lambda_ref
37-
= ref_type_if_not_const_t<T_inv_scale>;
36+
using T_lambda_ref = ref_type_if_not_const_t<T_inv_scale>;
3837
static const char* function = "exp_mod_normal_lpdf";
3938
check_consistent_sizes(function, "Random variable", y, "Location parameter",
4039
mu, "Scale parameter", sigma, "Inv_scale paramter",

stan/math/prim/prob/exponential_cdf.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ return_type_t<T_y, T_inv_scale> exponential_cdf(const T_y& y,
3737
using T_partials_return = partials_return_t<T_y, T_inv_scale>;
3838
using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
3939
using T_y_ref = ref_type_if_not_const_t<T_y>;
40-
using T_beta_ref
41-
= ref_type_if_not_const_t<T_inv_scale>;
40+
using T_beta_ref = ref_type_if_not_const_t<T_inv_scale>;
4241
static const char* function = "exponential_cdf";
4342
T_y_ref y_ref = y;
4443
T_beta_ref beta_ref = beta;

stan/math/prim/prob/exponential_lccdf.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ return_type_t<T_y, T_inv_scale> exponential_lccdf(const T_y& y,
2222
using T_partials_return = partials_return_t<T_y, T_inv_scale>;
2323
using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
2424
using T_y_ref = ref_type_if_not_const_t<T_y>;
25-
using T_beta_ref
26-
= ref_type_if_not_const_t<T_inv_scale>;
25+
using T_beta_ref = ref_type_if_not_const_t<T_inv_scale>;
2726
static const char* function = "exponential_lccdf";
2827
T_y_ref y_ref = y;
2928
T_beta_ref beta_ref = beta;

stan/math/prim/prob/exponential_lcdf.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ return_type_t<T_y, T_inv_scale> exponential_lcdf(const T_y& y,
2525
const T_inv_scale& beta) {
2626
using T_partials_return = partials_return_t<T_y, T_inv_scale>;
2727
using T_y_ref = ref_type_if_not_const_t<T_y>;
28-
using T_beta_ref
29-
= ref_type_if_not_const_t<T_inv_scale>;
28+
using T_beta_ref = ref_type_if_not_const_t<T_inv_scale>;
3029
static const char* function = "exponential_lcdf";
3130
T_y_ref y_ref = y;
3231
T_beta_ref beta_ref = beta;

stan/math/prim/prob/exponential_lpdf.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ return_type_t<T_y, T_inv_scale> exponential_lpdf(const T_y& y,
5454
using T_partials_return = partials_return_t<T_y, T_inv_scale>;
5555
using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
5656
using T_y_ref = ref_type_if_not_const_t<T_y>;
57-
using T_beta_ref
58-
= ref_type_if_not_const_t<T_inv_scale>;
57+
using T_beta_ref = ref_type_if_not_const_t<T_inv_scale>;
5958
static const char* function = "exponential_lpdf";
6059
check_consistent_sizes(function, "Random variable", y,
6160
"Inverse scale parameter", beta);

stan/math/prim/prob/gamma_lpdf.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ return_type_t<T_y, T_shape, T_inv_scale> gamma_lpdf(const T_y& y,
5555
using T_partials_return = partials_return_t<T_y, T_shape, T_inv_scale>;
5656
using T_y_ref = ref_type_if_not_const_t<T_y>;
5757
using T_alpha_ref = ref_type_if_not_const_t<T_shape>;
58-
using T_beta_ref
59-
= ref_type_if_not_const_t<T_inv_scale>;
58+
using T_beta_ref = ref_type_if_not_const_t<T_inv_scale>;
6059
static const char* function = "gamma_lpdf";
6160
check_consistent_sizes(function, "Random variable", y, "Shape parameter",
6261
alpha, "Inverse scale parameter", beta);

0 commit comments

Comments
 (0)