@@ -9,16 +9,16 @@ TEST(MathMetaPrim, value_type_vector) {
99 using std::vector;
1010
1111 EXPECT_SAME_TYPE (vector<double >::value_type,
12- value_type<vector<double > >::type);
12+ value_type<vector<double >>::type);
1313
1414 EXPECT_SAME_TYPE (vector<double >::value_type,
15- value_type<const vector<double > >::type);
15+ value_type<const vector<double >>::type);
1616
17- EXPECT_SAME_TYPE (vector<vector<int > >::value_type,
18- value_type<vector<vector<int > > >::type);
17+ EXPECT_SAME_TYPE (vector<vector<int >>::value_type,
18+ value_type<vector<vector<int >> >::type);
1919
20- EXPECT_SAME_TYPE (vector<vector<int > >::value_type,
21- value_type<const vector<vector<int > > >::type);
20+ EXPECT_SAME_TYPE (vector<vector<int >>::value_type,
21+ value_type<const vector<vector<int >> >::type);
2222}
2323
2424TEST (MathMetaPrim, value_type_matrix) {
@@ -34,13 +34,14 @@ TEST(MathMetaPrim, value_type_matrix) {
3434 value_type<Eigen::RowVectorXd>::type);
3535
3636 EXPECT_SAME_TYPE (Eigen::RowVectorXd,
37- value_type<std::vector<Eigen::RowVectorXd> >::type);
37+ value_type<std::vector<Eigen::RowVectorXd>>::type);
3838}
3939
4040TEST (MathMetaPrim, value_type_kronecker) {
41- Eigen::Matrix<double ,2 ,2 > A;
42- const auto B = Eigen::kroneckerProduct (A, Eigen::Matrix<double ,2 ,2 >::Identity ());
43- Eigen::Matrix<double ,4 ,1 > C = Eigen::Matrix<double ,4 ,1 >::Random (4 , 1 );
41+ Eigen::Matrix<double , 2 , 2 > A;
42+ const auto B
43+ = Eigen::kroneckerProduct (A, Eigen::Matrix<double , 2 , 2 >::Identity ());
44+ Eigen::Matrix<double , 4 , 1 > C = Eigen::Matrix<double , 4 , 1 >::Random (4 , 1 );
4445 EXPECT_TRUE ((std::is_same<double , stan::value_type_t <decltype (B)>>::value));
4546 Eigen::MatrixXd D = B * C;
4647}
0 commit comments