Created
November 19, 2020 22:33
-
-
Save SteveBronder/baa4f55850662b266f4d9c36c9fd29fe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In file included from test/prob/poisson/poisson_00000_generated_ffd_test.cpp:3: | |
In file included from ./test/prob/test_fixture_distr.hpp:4: | |
In file included from ./stan/math/mix.hpp:6: | |
In file included from ./stan/math/rev.hpp:9: | |
In file included from ./stan/math/prim.hpp:12: | |
In file included from ./stan/math/prim/prob.hpp:276: | |
In file included from ./stan/math/prim/prob/poisson_log.hpp:5: | |
./stan/math/prim/prob/poisson_lpmf.hpp:68:28: error: no matching function for call to 'sum' | |
T_partials_return logp = stan::math::sum(multiply_log(n_val, lambda_val)); | |
^~~~~~~~~~~~~~~ | |
./stan/math/prim/prob/poisson_lpmf.hpp:85:10: note: in instantiation of function template specialization 'stan::math::poisson_lpmf<false, int, std::vector<stan::math::fvar<stan::math::fvar<double> >, | |
std::allocator<stan::math::fvar<stan::math::fvar<double> > > > >' requested here | |
return poisson_lpmf<false>(n, lambda); | |
^ | |
./stan/math/prim/prob/poisson_log.hpp:23:10: note: in instantiation of function template specialization 'stan::math::poisson_lpmf<int, std::vector<stan::math::fvar<stan::math::fvar<double> >, | |
std::allocator<stan::math::fvar<stan::math::fvar<double> > > > >' requested here | |
return poisson_lpmf<T_n, T_rate>(n, lambda); | |
^ | |
./test/prob/poisson/poisson_test.hpp:49:24: note: in instantiation of function template specialization 'stan::math::poisson_log<int, std::vector<stan::math::fvar<stan::math::fvar<double> >, | |
std::allocator<stan::math::fvar<stan::math::fvar<double> > > > >' requested here | |
return stan::math::poisson_log(n, lambda); | |
^ | |
./test/prob/test_fixture_distr.hpp:77:26: note: in instantiation of function template specialization 'AgradDistributionsPoisson::log_prob<int, std::vector<stan::math::fvar<stan::math::fvar<double> >, | |
std::allocator<stan::math::fvar<stan::math::fvar<double> > > >, empty, empty, empty, empty>' requested here | |
TestClass.template log_prob<T0, T1, T2, T3, T4, T5>(p0, p1, p2, p3, p4, | |
^ | |
./test/prob/test_fixture_distr.hpp:822:9: note: in instantiation of member function 'AgradDistributionTestFixture<boost::mpl::vector<AgradDistributionsPoisson, boost::mpl::vector<int, | |
std::vector<stan::math::fvar<stan::math::fvar<double> >, std::allocator<stan::math::fvar<stan::math::fvar<double> > > >, empty, empty, empty, empty, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, | |
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, | |
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na> >::call_all_versions' requested here | |
this->call_all_versions(); | |
^ | |
lib/benchmark_1.5.1/googletest/googletest/include/gtest/internal/gtest-internal.h:472:44: note: in instantiation of member function | |
'gtest_suite_AgradDistributionTestFixture_::CallAllVersions<boost::mpl::vector<AgradDistributionsPoisson, boost::mpl::vector<int, std::vector<stan::math::fvar<stan::math::fvar<double> >, | |
std::allocator<stan::math::fvar<stan::math::fvar<double> > > >, empty, empty, empty, empty, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, | |
mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, | |
mpl_::na, mpl_::na, mpl_::na> >::TestBody' requested here | |
Test* CreateTest() override { return new TestClass; } | |
^ | |
lib/benchmark_1.5.1/googletest/googletest/include/gtest/internal/gtest-internal.h:730:13: note: in instantiation of member function | |
'testing::internal::TestFactoryImpl<gtest_suite_AgradDistributionTestFixture_::CallAllVersions<boost::mpl::vector<AgradDistributionsPoisson, boost::mpl::vector<int, | |
std::vector<stan::math::fvar<stan::math::fvar<double> >, std::allocator<stan::math::fvar<stan::math::fvar<double> > > >, empty, empty, empty, empty, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, | |
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, | |
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na> > >::CreateTest' requested here | |
new TestFactoryImpl<TestClass>); | |
^ | |
lib/benchmark_1.5.1/googletest/googletest/include/gtest/internal/gtest-internal.h:789:50: note: in instantiation of member function 'testing::internal::TypeParameterizedTest<AgradDistributionTestFixture, | |
testing::internal::TemplateSel<CallAllVersions>, testing::internal::Types<boost::mpl::vector<AgradDistributionsPoisson, boost::mpl::vector<int, std::vector<stan::math::fvar<stan::math::fvar<double> | |
>, std::allocator<stan::math::fvar<stan::math::fvar<double> > > >, empty, empty, empty, empty, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, | |
mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, | |
mpl_::na, mpl_::na, mpl_::na>> >::Register' requested here | |
TypeParameterizedTest<Fixture, Head, Types>::Register( | |
^ | |
test/prob/poisson/poisson_00000_generated_ffd_test.cpp:30:1: note: in instantiation of member function 'testing::internal::TypeParameterizedTestSuite<AgradDistributionTestFixture, | |
testing::internal::Templates<CallAllVersions, ValidValues, InvalidValues, Propto, FiniteDiff, Function, RepeatAsVector, AsScalarsVsAsVector, Length0Vector>, | |
testing::internal::Types<boost::mpl::vector<AgradDistributionsPoisson, boost::mpl::vector<int, std::vector<stan::math::fvar<stan::math::fvar<double> >, | |
std::allocator<stan::math::fvar<stan::math::fvar<double> > > >, empty, empty, empty, empty, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, | |
mpl_::na, mpl_::na, mpl_::na, mpl_::na>, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, | |
mpl_::na, mpl_::na, mpl_::na>> >::Register' requested here | |
INSTANTIATE_TYPED_TEST_SUITE_P(AgradDistributionsPoisson_ffd_1, AgradDistributionTestFixture, AgradDistributionsPoisson_ffd_1); | |
^ | |
lib/benchmark_1.5.1/googletest/googletest/include/gtest/gtest-typed-test.h:317:11: note: expanded from macro 'INSTANTIATE_TYPED_TEST_SUITE_P' | |
Register(GTEST_STRINGIFY_(Prefix), \ | |
^ | |
./stan/math/prim/fun/sum.hpp:21:10: note: candidate template ignored: requirement 'is_stan_scalar<CwiseUnaryOp<(lambda at ./stan/math/prim/functor/apply_scalar_binary.hpp:216:22), const | |
Array<fvar<double>, -1, 1, 0, -1, 1> > >::value' was not satisfied [with T = Eigen::CwiseUnaryOp<(lambda at ./stan/math/prim/functor/apply_scalar_binary.hpp:216:22), const | |
Eigen::Array<stan::math::fvar<double>, -1, 1, 0, -1, 1> >] | |
inline T sum(T&& m) { | |
^ | |
./stan/math/prim/fun/sum.hpp:33:10: note: candidate template ignored: could not match 'vector' against 'CwiseUnaryOp' | |
inline T sum(const std::vector<T>& m) { | |
^ | |
./stan/math/prim/fun/sum.hpp:46:24: note: candidate template ignored: requirement 'integral_constant<bool, false>::value' was not satisfied [with T = Eigen::CwiseUnaryOp<(lambda at | |
./stan/math/prim/functor/apply_scalar_binary.hpp:216:22), const Eigen::Array<stan::math::fvar<double>, -1, 1, 0, -1, 1> >] | |
inline value_type_t<T> sum(const T& m) { | |
^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment