diff --git a/test/unit/math/rev/prob/categorical2_test.cpp b/test/unit/math/rev/prob/categorical2_test.cpp index d612fce0956..c799aebbd9e 100644 --- a/test/unit/math/rev/prob/categorical2_test.cpp +++ b/test/unit/math/rev/prob/categorical2_test.cpp @@ -5,8 +5,8 @@ template inline void expect_propto_categorical_lpmf(unsigned int n1, T_prob theta1, - unsigned int n2, T_prob theta2, - std::string message) { + unsigned int n2, T_prob theta2, + std::string message) { expect_eq_diffs(stan::math::categorical_lpmf(n1, theta1), stan::math::categorical_lpmf(n2, theta2), stan::math::categorical_lpmf(n1, theta1), diff --git a/test/unit/math/rev/prob/dirichlet2_test.cpp b/test/unit/math/rev/prob/dirichlet2_test.cpp index 4d0b0724b18..8953f180ffd 100644 --- a/test/unit/math/rev/prob/dirichlet2_test.cpp +++ b/test/unit/math/rev/prob/dirichlet2_test.cpp @@ -4,9 +4,11 @@ #include template -inline void expect_propto_dirichlet_lpdf(T_prob theta, T_prior_sample_size alpha, - T_prob theta2, T_prior_sample_size alpha2, - std::string message) { +inline void expect_propto_dirichlet_lpdf(T_prob theta, + T_prior_sample_size alpha, + T_prob theta2, + T_prior_sample_size alpha2, + std::string message) { expect_eq_diffs(stan::math::dirichlet_lpdf(theta, alpha), stan::math::dirichlet_lpdf(theta2, alpha2), stan::math::dirichlet_lpdf(theta, alpha), diff --git a/test/unit/math/rev/prob/inv_wishart2_test.cpp b/test/unit/math/rev/prob/inv_wishart2_test.cpp index 005cc9cefad..dd51246d169 100644 --- a/test/unit/math/rev/prob/inv_wishart2_test.cpp +++ b/test/unit/math/rev/prob/inv_wishart2_test.cpp @@ -5,9 +5,9 @@ #include template -inline void expect_propto_inv_wishart_lpdf(T_y W1, T_dof nu1, T_scale S1, T_y W2, - T_dof nu2, T_scale S2, - std::string message) { +inline void expect_propto_inv_wishart_lpdf(T_y W1, T_dof nu1, T_scale S1, + T_y W2, T_dof nu2, T_scale S2, + std::string message) { expect_eq_diffs(stan::math::inv_wishart_lpdf(W1, nu1, S1), stan::math::inv_wishart_lpdf(W2, nu2, S2), stan::math::inv_wishart_lpdf(W1, nu1, S1), diff --git a/test/unit/math/rev/prob/multi_gp2_test.cpp b/test/unit/math/rev/prob/multi_gp2_test.cpp index c0b06738641..cb10dce05c3 100644 --- a/test/unit/math/rev/prob/multi_gp2_test.cpp +++ b/test/unit/math/rev/prob/multi_gp2_test.cpp @@ -8,8 +8,8 @@ #include template -inline void expect_propto(T_y y1, T_scale sigma1, T_w w1, T_y y2, T_scale sigma2, - T_w w2, std::string message = "") { +inline void expect_propto(T_y y1, T_scale sigma1, T_w w1, T_y y2, + T_scale sigma2, T_w w2, std::string message = "") { expect_eq_diffs(stan::math::multi_gp_lpdf(y1, sigma1, w1), stan::math::multi_gp_lpdf(y2, sigma2, w2), stan::math::multi_gp_lpdf(y1, sigma1, w1), diff --git a/test/unit/math/rev/prob/multi_gp_cholesky2_test.cpp b/test/unit/math/rev/prob/multi_gp_cholesky2_test.cpp index 088928fa79e..bda7f3538dd 100644 --- a/test/unit/math/rev/prob/multi_gp_cholesky2_test.cpp +++ b/test/unit/math/rev/prob/multi_gp_cholesky2_test.cpp @@ -8,9 +8,9 @@ #include template -inline void expect_propto_multi_gp_cholesky_lpdf(T_y y1, T_scale L1, T_w w1, T_y y2, - T_scale L2, T_w w2, - std::string message = "") { +inline void expect_propto_multi_gp_cholesky_lpdf(T_y y1, T_scale L1, T_w w1, + T_y y2, T_scale L2, T_w w2, + std::string message = "") { expect_eq_diffs(stan::math::multi_gp_cholesky_lpdf(y1, L1, w1), stan::math::multi_gp_cholesky_lpdf(y2, L2, w2), stan::math::multi_gp_cholesky_lpdf(y1, L1, w1), diff --git a/test/unit/math/rev/prob/multi_normal2_test.cpp b/test/unit/math/rev/prob/multi_normal2_test.cpp index 7550c0de852..6965f89c95a 100644 --- a/test/unit/math/rev/prob/multi_normal2_test.cpp +++ b/test/unit/math/rev/prob/multi_normal2_test.cpp @@ -9,9 +9,9 @@ #include template -inline void expect_propto_multi_normal_lpdf(T_y y1, T_loc mu1, T_scale sigma1, T_y y2, - T_loc mu2, T_scale sigma2, - std::string message = "") { +inline void expect_propto_multi_normal_lpdf(T_y y1, T_loc mu1, T_scale sigma1, + T_y y2, T_loc mu2, T_scale sigma2, + std::string message = "") { expect_eq_diffs(stan::math::multi_normal_lpdf(y1, mu1, sigma1), stan::math::multi_normal_lpdf(y2, mu2, sigma2), stan::math::multi_normal_lpdf(y1, mu1, sigma1), diff --git a/test/unit/math/rev/prob/multi_normal_prec2_test.cpp b/test/unit/math/rev/prob/multi_normal_prec2_test.cpp index e4075da76b9..206df434caf 100644 --- a/test/unit/math/rev/prob/multi_normal_prec2_test.cpp +++ b/test/unit/math/rev/prob/multi_normal_prec2_test.cpp @@ -9,9 +9,10 @@ #include template -inline void expect_propto_multi_normal_prec_lpdf(T_y y1, T_loc mu1, T_scale sigma1, - T_y y2, T_loc mu2, T_scale sigma2, - std::string message = "") { +inline void expect_propto_multi_normal_prec_lpdf(T_y y1, T_loc mu1, + T_scale sigma1, T_y y2, + T_loc mu2, T_scale sigma2, + std::string message = "") { expect_eq_diffs(stan::math::multi_normal_prec_lpdf(y1, mu1, sigma1), stan::math::multi_normal_prec_lpdf(y2, mu2, sigma2), stan::math::multi_normal_prec_lpdf(y1, mu1, sigma1), diff --git a/test/unit/math/rev/prob/multi_student_t2_test.cpp b/test/unit/math/rev/prob/multi_student_t2_test.cpp index fe28014fe9b..44882de0418 100644 --- a/test/unit/math/rev/prob/multi_student_t2_test.cpp +++ b/test/unit/math/rev/prob/multi_student_t2_test.cpp @@ -11,9 +11,10 @@ template inline void expect_propto_multi_student_t_lpdf(T_y y1, T_dof nu1, T_loc mu1, - T_scale sigma1, T_y y2, T_dof nu2, - T_loc mu2, T_scale sigma2, - std::string message = "") { + T_scale sigma1, T_y y2, + T_dof nu2, T_loc mu2, + T_scale sigma2, + std::string message = "") { expect_eq_diffs(stan::math::multi_student_t_lpdf(y1, nu1, mu1, sigma1), stan::math::multi_student_t_lpdf(y2, nu2, mu2, sigma2), stan::math::multi_student_t_lpdf(y1, nu1, mu1, sigma1), diff --git a/test/unit/math/rev/prob/multinomial_test.cpp b/test/unit/math/rev/prob/multinomial_test.cpp index 8cf11dce795..33de0f4e727 100644 --- a/test/unit/math/rev/prob/multinomial_test.cpp +++ b/test/unit/math/rev/prob/multinomial_test.cpp @@ -7,8 +7,8 @@ template inline void expect_propto_multinomial(std::vector& ns1, T_prob theta1, - std::vector& ns2, T_prob theta2, - std::string message) { + std::vector& ns2, T_prob theta2, + std::string message) { expect_eq_diffs(stan::math::multinomial_lpmf(ns1, theta1), stan::math::multinomial_lpmf(ns2, theta2), stan::math::multinomial_lpmf(ns1, theta1), diff --git a/test/unit/math/rev/prob/wishart_test.cpp b/test/unit/math/rev/prob/wishart_test.cpp index 8f497bfd621..898eb7544c3 100644 --- a/test/unit/math/rev/prob/wishart_test.cpp +++ b/test/unit/math/rev/prob/wishart_test.cpp @@ -6,7 +6,8 @@ template inline void expect_propto_wishart_lpdf(T_y W1, T_dof nu1, T_scale S1, T_y W2, - T_dof nu2, T_scale S2, std::string message) { + T_dof nu2, T_scale S2, + std::string message) { expect_eq_diffs(stan::math::wishart_lpdf(W1, nu1, S1), stan::math::wishart_lpdf(W2, nu2, S2), stan::math::wishart_lpdf(W1, nu1, S1),