@@ -123,7 +123,8 @@ TEST_P(laplace_types, poisson_log_phi_dim_2_tuple_extended) {
123123 int dim_theta = 2 ;
124124 Eigen::VectorXd theta_0{{0 , 0 }};
125125
126- std::vector<Eigen::VectorXd> x{Eigen::VectorXd{{0.05100797 , 0.16086164 }}, Eigen::VectorXd{{-0.59823393 , 0.98701425 }}};
126+ std::vector<Eigen::VectorXd> x{Eigen::VectorXd{{0.05100797 , 0.16086164 }},
127+ Eigen::VectorXd{{-0.59823393 , 0.98701425 }}};
127128
128129 std::vector<int > n_samples = {1 , 1 };
129130 std::vector<int > sums = {1 , 0 };
@@ -161,10 +162,11 @@ TEST_P(laplace_types, poisson_log_phi_dim_2_tuple_extended) {
161162 auto eta2_ref = stan::math::eval (stan::math::to_ref (eta2));
162163 fail_msg << " Exception thrown with phi("
163164 << test_type_name<decltype (phi_ref)>() << " )=" << phi_ref[0 ]
164- << " , phi(" << test_type_name<decltype (phi_ref)>() << " )="
165- << phi_ref[0 ] << " , eta1(" << test_type_name<decltype (eta1_ref)>() << " )="
166- << eta1_ref[0 ] << " , eta2(" << test_type_name<decltype (eta2_ref)>() << " )="
167- << eta2_ref[0 ] << " . " ;
165+ << " , phi(" << test_type_name<decltype (phi_ref)>()
166+ << " )=" << phi_ref[0 ] << " , eta1("
167+ << test_type_name<decltype (eta1_ref)>() << " )=" << eta1_ref[0 ]
168+ << " , eta2(" << test_type_name<decltype (eta2_ref)>()
169+ << " )=" << eta2_ref[0 ] << " . " ;
168170 ADD_FAILURE () << fail_msg.str () << " \n Error message: " << e.what ();
169171 throw ;
170172 }
@@ -280,7 +282,8 @@ TEST_P(laplace_types, poisson_log_phi_dim_2_array_tuple) {
280282 Eigen::Matrix<double , Eigen::Dynamic, 1 > phi_dbl{{1.6 , 0.45 }};
281283 constexpr int dim_theta = 2 ;
282284 Eigen::VectorXd theta_0{{0 , 0 }};
283- std::vector<Eigen::VectorXd> x{Eigen::VectorXd{{0.05100797 , 0.16086164 }}, Eigen::VectorXd{{-0.59823393 , 0.98701425 }}};
285+ std::vector<Eigen::VectorXd> x{Eigen::VectorXd{{0.05100797 , 0.16086164 }},
286+ Eigen::VectorXd{{-0.59823393 , 0.98701425 }}};
284287 std::vector<int > n_samples = {1 , 1 };
285288 std::vector<int > sums = {1 , 0 };
286289 const auto test_params = GetParam ();
0 commit comments