Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from test_functions1.cpp:2:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigen.h:25:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigenForward.h:30:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/Dense:1:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:418:
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/Product.h:29:116: error: no type named 'ReturnType' in 'Eigen::ScalarBinaryOpTraits<stan::math::fvar<stan::math::var>, double, Eigen::internal::scalar_product_op<stan::math::fvar<stan::math::var>, double> >'
- typedef typename ScalarBinaryOpTraits<typename traits<LhsCleaned>::Scalar, typename traits<RhsCleaned>::Scalar>::ReturnType Scalar;
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:462:56: note: in instantiation of template class 'Eigen::internal::traits<Eigen::Product<Eigen::Block<const Eigen::Matrix<stan::math::fvar<stan::math::var>, -1, -1, 0, -1, -1>, 1, -1, false>, Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 1, -1, false> >, 0> >' requested here
- template<typename Derived, typename XprKind = typename traits<Derived>::XprKind>
- ^
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/Product.h:122:21: note: in instantiation of default argument for 'dense_xpr_base<Eigen::Product<Eigen::Block<const Eigen::Matrix<stan::math::fvar<stan::math::var>, -1, -1, 0, -1, -1>, 1, -1, false>, Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 1, -1, false> >, 0> >' required here
- : public internal::dense_xpr_base<Product<Lhs,Rhs,Option> >::type
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/Product.h:148:12: note: in instantiation of template class 'Eigen::internal::dense_product_base<Eigen::Block<const Eigen::Matrix<stan::math::fvar<stan::math::var>, -1, -1, 0, -1, -1>, 1, -1, false>, Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 1, -1, false> >, 0, 6>' requested here
- : public internal::dense_product_base<Lhs,Rhs,Option>
- ^
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/Product.h:71:24: note: in instantiation of template class 'Eigen::ProductImpl<Eigen::Block<const Eigen::Matrix<stan::math::fvar<stan::math::var>, -1, -1, 0, -1, -1>, 1, -1, false>, Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 1, -1, false> >, 0, Eigen::Dense>' requested here
- class Product : public ProductImpl<_Lhs,_Rhs,Option,
- ^
- test_functions1.cpp:28:22: note: in instantiation of template class 'Eigen::Product<Eigen::Block<const Eigen::Matrix<stan::math::fvar<stan::math::var>, -1, -1, 0, -1, -1>, 1, -1, false>, Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 1, -1, false> >, 0>' requested here
- mu(i) = P.row(i) * M.row(i).transpose();
- ^
- test_functions1.cpp:65:10: note: in instantiation of function template specialization 'prop_to_mean<stan::math::fvar<stan::math::var>, -1, -1>' requested here
- mu = prop_to_mean(P, M_);
- ^
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/StanHeaders/include/stan/math/mix/mat/functor/hessian.hpp:60:31: note: in instantiation of function template specialization 'test_lpdf::operator()<stan::math::fvar<stan::math::var> >' requested here
- fvar<var> fx_fvar = f(x_fvar);
- ^
- test_functions1.cpp:79:15: note: in instantiation of function template specialization 'stan::math::hessian<test_lpdf>' requested here
- stan::math::hessian(f, x, fx, grad_fx, H);
- ^
- In file included from test_functions1.cpp:2:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigen.h:25:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigenForward.h:30:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/Dense:1:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:418:
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/Product.h:155:5: error: no type named 'CoeffReturnType' in 'Eigen::internal::dense_product_base<Eigen::Block<const Eigen::Matrix<stan::math::fvar<stan::math::var>, -1, -1, 0, -1, -1>, 1, -1, false>, Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 1, -1, false> >, 0, 6>'
- EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/Macros.h:868:3: note: expanded from macro 'EIGEN_DENSE_PUBLIC_INTERFACE'
- EIGEN_GENERIC_PUBLIC_INTERFACE(Derived) \
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/Macros.h:852:26: note: expanded from macro 'EIGEN_GENERIC_PUBLIC_INTERFACE'
- typedef typename Base::CoeffReturnType CoeffReturnType; /*!< \brief The return type for coefficient access. \details Depending on whether the object allows direct coefficient access (e.g. for a MatrixXd), this type is either 'const Scalar&' or simply 'Scalar' for objects that do not allow direct coefficient access. */ \
- ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/Product.h:71:24: note: in instantiation of template class 'Eigen::ProductImpl<Eigen::Block<const Eigen::Matrix<stan::math::fvar<stan::math::var>, -1, -1, 0, -1, -1>, 1, -1, false>, Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 1, -1, false> >, 0, Eigen::Dense>' requested here
- class Product : public ProductImpl<_Lhs,_Rhs,Option,
- ^
- test_functions1.cpp:28:22: note: in instantiation of template class 'Eigen::Product<Eigen::Block<const Eigen::Matrix<stan::math::fvar<stan::math::var>, -1, -1, 0, -1, -1>, 1, -1, false>, Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 1, -1, false> >, 0>' requested here
- mu(i) = P.row(i) * M.row(i).transpose();
- ^
- test_functions1.cpp:65:10: note: in instantiation of function template specialization 'prop_to_mean<stan::math::fvar<stan::math::var>, -1, -1>' requested here
- mu = prop_to_mean(P, M_);
- ^
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/StanHeaders/include/stan/math/mix/mat/functor/hessian.hpp:60:31: note: in instantiation of function template specialization 'test_lpdf::operator()<stan::math::fvar<stan::math::var> >' requested here
- fvar<var> fx_fvar = f(x_fvar);
- ^
- test_functions1.cpp:79:15: note: in instantiation of function template specialization 'stan::math::hessian<test_lpdf>' requested here
- stan::math::hessian(f, x, fx, grad_fx, H);
- ^
- In file included from test_functions1.cpp:2:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigen.h:25:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigenForward.h:30:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/Dense:1:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:418:
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/Product.h:155:5: error: no member named 'SizeAtCompileTime' in 'Eigen::internal::dense_product_base<Eigen::Block<const Eigen::Matrix<stan::math::fvar<stan::math::var>, -1, -1, 0, -1, -1>, 1, -1, false>, Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 1, -1, false> >, 0, 6>'
- EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/Macros.h:868:3: note: expanded from macro 'EIGEN_DENSE_PUBLIC_INTERFACE'
- EIGEN_GENERIC_PUBLIC_INTERFACE(Derived) \
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/Macros.h:859:35: note: expanded from macro 'EIGEN_GENERIC_PUBLIC_INTERFACE'
- SizeAtCompileTime = Base::SizeAtCompileTime, \
- ~~~~~~^
- In file included from test_functions1.cpp:2:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigen.h:25:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigenForward.h:30:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/Dense:1:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:418:
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/Product.h:155:5: error: no member named 'MaxSizeAtCompileTime' in 'Eigen::internal::dense_product_base<Eigen::Block<const Eigen::Matrix<stan::math::fvar<stan::math::var>, -1, -1, 0, -1, -1>, 1, -1, false>, Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 1, -1, false> >, 0, 6>'
- EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/Macros.h:868:3: note: expanded from macro 'EIGEN_DENSE_PUBLIC_INTERFACE'
- EIGEN_GENERIC_PUBLIC_INTERFACE(Derived) \
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/Macros.h:860:38: note: expanded from macro 'EIGEN_GENERIC_PUBLIC_INTERFACE'
- MaxSizeAtCompileTime = Base::MaxSizeAtCompileTime, \
- ~~~~~~^
- In file included from test_functions1.cpp:2:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigen.h:25:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigenForward.h:30:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/Dense:1:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:418:
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/Product.h:155:5: error: no member named 'IsVectorAtCompileTime' in 'Eigen::internal::dense_product_base<Eigen::Block<const Eigen::Matrix<stan::math::fvar<stan::math::var>, -1, -1, 0, -1, -1>, 1, -1, false>, Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 1, -1, false> >, 0, 6>'
- EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/Macros.h:868:3: note: expanded from macro 'EIGEN_DENSE_PUBLIC_INTERFACE'
- EIGEN_GENERIC_PUBLIC_INTERFACE(Derived) \
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/Macros.h:861:39: note: expanded from macro 'EIGEN_GENERIC_PUBLIC_INTERFACE'
- IsVectorAtCompileTime = Base::IsVectorAtCompileTime }; \
- ~~~~~~^
- In file included from test_functions1.cpp:2:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigen.h:25:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigenForward.h:30:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/Dense:1:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:418:
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/Product.h:155:5: error: using declaration refers into 'Base::', which is not a base class of 'ProductImpl<Eigen::Block<const Eigen::Matrix<stan::math::fvar<stan::math::var>, -1, -1, 0, -1, -1>, 1, -1, false>, Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 1, -1, false> >, 0, Eigen::Dense>'
- EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/Macros.h:868:3: note: expanded from macro 'EIGEN_DENSE_PUBLIC_INTERFACE'
- EIGEN_GENERIC_PUBLIC_INTERFACE(Derived) \
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/Macros.h:862:9: note: expanded from macro 'EIGEN_GENERIC_PUBLIC_INTERFACE'
- using Base::derived; \
- ^~~~~~
- In file included from test_functions1.cpp:2:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigen.h:25:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigenForward.h:30:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/Dense:1:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:418:
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/Product.h:155:5: error: using declaration refers into 'Base::', which is not a base class of 'ProductImpl<Eigen::Block<const Eigen::Matrix<stan::math::fvar<stan::math::var>, -1, -1, 0, -1, -1>, 1, -1, false>, Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 1, -1, false> >, 0, Eigen::Dense>'
- EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/Macros.h:868:3: note: expanded from macro 'EIGEN_DENSE_PUBLIC_INTERFACE'
- EIGEN_GENERIC_PUBLIC_INTERFACE(Derived) \
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/Macros.h:863:9: note: expanded from macro 'EIGEN_GENERIC_PUBLIC_INTERFACE'
- using Base::const_cast_derived;
- ^~~~~~
- In file included from test_functions1.cpp:2:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigen.h:25:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigenForward.h:30:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/Dense:1:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:418:
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/Product.h:155:5: error: no type named 'PacketScalar' in 'Eigen::internal::dense_product_base<Eigen::Block<const Eigen::Matrix<stan::math::fvar<stan::math::var>, -1, -1, 0, -1, -1>, 1, -1, false>, Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 1, -1, false> >, 0, 6>'
- EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/Macros.h:869:26: note: expanded from macro 'EIGEN_DENSE_PUBLIC_INTERFACE'
- typedef typename Base::PacketScalar PacketScalar;
- ~~~~~~~~~~~~~~~^~~~~~~~~~~~
- In file included from test_functions1.cpp:2:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigen.h:25:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigenForward.h:30:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/Dense:1:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:418:
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/Product.h:86:5: error: no type named 'CoeffReturnType' in 'Eigen::internal::dense_product_base<Eigen::Block<const Eigen::Matrix<stan::math::fvar<stan::math::var>, -1, -1, 0, -1, -1>, 1, -1, false>, Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 1, -1, false> >, 0, 6>'
- EIGEN_GENERIC_PUBLIC_INTERFACE(Product)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/Macros.h:852:26: note: expanded from macro 'EIGEN_GENERIC_PUBLIC_INTERFACE'
- typedef typename Base::CoeffReturnType CoeffReturnType; /*!< \brief The return type for coefficient access. \details Depending on whether the object allows direct coefficient access (e.g. for a MatrixXd), this type is either 'const Scalar&' or simply 'Scalar' for objects that do not allow direct coefficient access. */ \
- ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- test_functions1.cpp:28:22: note: in instantiation of template class 'Eigen::Product<Eigen::Block<const Eigen::Matrix<stan::math::fvar<stan::math::var>, -1, -1, 0, -1, -1>, 1, -1, false>, Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 1, -1, false> >, 0>' requested here
- mu(i) = P.row(i) * M.row(i).transpose();
- ^
- test_functions1.cpp:65:10: note: in instantiation of function template specialization 'prop_to_mean<stan::math::fvar<stan::math::var>, -1, -1>' requested here
- mu = prop_to_mean(P, M_);
- ^
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/StanHeaders/include/stan/math/mix/mat/functor/hessian.hpp:60:31: note: in instantiation of function template specialization 'test_lpdf::operator()<stan::math::fvar<stan::math::var> >' requested here
- fvar<var> fx_fvar = f(x_fvar);
- ^
- test_functions1.cpp:79:15: note: in instantiation of function template specialization 'stan::math::hessian<test_lpdf>' requested here
- stan::math::hessian(f, x, fx, grad_fx, H);
- ^
- In file included from test_functions1.cpp:2:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigen.h:25:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigenForward.h:30:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/Dense:1:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:418:
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/Product.h:86:5: error: no member named 'SizeAtCompileTime' in 'Eigen::internal::dense_product_base<Eigen::Block<const Eigen::Matrix<stan::math::fvar<stan::math::var>, -1, -1, 0, -1, -1>, 1, -1, false>, Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 1, -1, false> >, 0, 6>'
- EIGEN_GENERIC_PUBLIC_INTERFACE(Product)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/Macros.h:859:35: note: expanded from macro 'EIGEN_GENERIC_PUBLIC_INTERFACE'
- SizeAtCompileTime = Base::SizeAtCompileTime, \
- ~~~~~~^
- In file included from test_functions1.cpp:2:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigen.h:25:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigenForward.h:30:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/Dense:1:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:418:
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/Product.h:86:5: error: no member named 'MaxSizeAtCompileTime' in 'Eigen::internal::dense_product_base<Eigen::Block<const Eigen::Matrix<stan::math::fvar<stan::math::var>, -1, -1, 0, -1, -1>, 1, -1, false>, Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 1, -1, false> >, 0, 6>'
- EIGEN_GENERIC_PUBLIC_INTERFACE(Product)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/Macros.h:860:38: note: expanded from macro 'EIGEN_GENERIC_PUBLIC_INTERFACE'
- MaxSizeAtCompileTime = Base::MaxSizeAtCompileTime, \
- ~~~~~~^
- In file included from test_functions1.cpp:2:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigen.h:25:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigenForward.h:30:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/Dense:1:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:418:
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/Product.h:86:5: error: no member named 'IsVectorAtCompileTime' in 'Eigen::internal::dense_product_base<Eigen::Block<const Eigen::Matrix<stan::math::fvar<stan::math::var>, -1, -1, 0, -1, -1>, 1, -1, false>, Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 1, -1, false> >, 0, 6>'
- EIGEN_GENERIC_PUBLIC_INTERFACE(Product)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/Macros.h:861:39: note: expanded from macro 'EIGEN_GENERIC_PUBLIC_INTERFACE'
- IsVectorAtCompileTime = Base::IsVectorAtCompileTime }; \
- ~~~~~~^
- In file included from test_functions1.cpp:2:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigen.h:25:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigenForward.h:30:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/Dense:1:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:418:
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/Product.h:86:5: error: using declaration refers into 'Base::', which is not a base class of 'Product<Eigen::Block<const Eigen::Matrix<stan::math::fvar<stan::math::var>, -1, -1, 0, -1, -1>, 1, -1, false>, Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 1, -1, false> >, 0>'
- EIGEN_GENERIC_PUBLIC_INTERFACE(Product)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/Macros.h:862:9: note: expanded from macro 'EIGEN_GENERIC_PUBLIC_INTERFACE'
- using Base::derived; \
- ^~~~~~
- In file included from test_functions1.cpp:2:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigen.h:25:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigenForward.h:30:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/Dense:1:
- In file included from /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/unsupported/Eigen/../../Eigen/Core:418:
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/Product.h:86:5: error: using declaration refers into 'Base::', which is not a base class of 'Product<Eigen::Block<const Eigen::Matrix<stan::math::fvar<stan::math::var>, -1, -1, 0, -1, -1>, 1, -1, false>, Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1, 0, -1, -1>, 1, -1, false> >, 0>'
- EIGEN_GENERIC_PUBLIC_INTERFACE(Product)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/bekj9674/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/Macros.h:863:9: note: expanded from macro 'EIGEN_GENERIC_PUBLIC_INTERFACE'
- using Base::const_cast_derived;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement