From d99a90efe7ce4d69737d237e3fc2c72770f2884e Mon Sep 17 00:00:00 2001 From: William Ledbetter Date: Mon, 31 Aug 2020 22:13:40 -0500 Subject: [PATCH] no typename --- test/test_autodiff_9.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/test_autodiff_9.cpp b/test/test_autodiff_9.cpp index e914962c1a..cfcee8194e 100644 --- a/test/test_autodiff_9.cpp +++ b/test/test_autodiff_9.cpp @@ -11,7 +11,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(eigen_init, T, all_float_types) { constexpr int size = 5; constexpr std::size_t n = 5; - typedef typename fvar fTn; + typedef fvar fTn; Eigen::Matrix x; x[0] = fTn(1.5); x[1] = make_fvar(2.5); @@ -46,7 +46,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(eigen_general, T, all_float_types) { constexpr std::size_t n = 2; constexpr double p = 3.456; - typedef typename fvar fTn; + typedef fvar fTn; Eigen::Matrix x; x[0] = make_fvar(-1); x[1] = make_fvar(0); @@ -133,7 +133,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(eigen_scalar, T, all_float_types) { constexpr int dim = 4; constexpr size_t n = 4; - typedef typename fvar fTn; + typedef fvar fTn; fTn x = make_fvar(4); Eigen::Matrix X; Eigen::Matrix Z; @@ -172,7 +172,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(eigen_vector, T, all_float_types) { constexpr int dim = 3; constexpr size_t n = 4; - typedef typename fvar fTn; + typedef fvar fTn; fTn x = make_fvar(5); T xD0 = x.derivative(0); Eigen::Matrix X; @@ -232,7 +232,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(eigen_determinant, T, all_float_types) { constexpr int dim = 4; constexpr size_t n = 1; - typedef typename fvar fTn; + typedef fvar fTn; fTn x = make_fvar(3); T xD0 = x.derivative(0); Eigen::Matrix M = 10 * Eigen::Matrix::Random();