Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hydra::Sum not recognized as hydra functor #100

Closed
adicanto opened this issue Aug 18, 2020 · 0 comments
Closed

hydra::Sum not recognized as hydra functor #100

adicanto opened this issue Aug 18, 2020 · 0 comments

Comments

@adicanto
Copy link

See error below

In file included from /Users/dicanto/cernbox/Dafne/src/test.cpp:1:
In file included from /Users/dicanto/cernbox/Dafne/include/test.inl:22:
/Users/dicanto/cernbox/Dafne/include/physics/Rate.h:88:9: error: no matching function for call to 'compose'
return hydra::compose(TimeDependentRate< typename ADIR::return_type, typename ABAR::return_type,hydra::complex,hydra::complex>(), Adir, Abar, gp, gm);
^~~~~~~~~~~~~~
/Users/dicanto/cernbox/Dafne/include/test.inl:93:15: note: in instantiation of function template specialization 'dafne::time_dependent_rate<hydra::arguments::DecayTime,
hydra::Sum<dafne::Amplitude<hydra::arguments::MSqPlus, hydra::arguments::MSqMinus, 2, dafne::GounarisSakuraiPropagator<dafne::Resonance<hydra::PWave, 2, 3, true, false, 1,
void ()>, 2, hydra_thrust::complex (double)>, hydra_thrust::complex (hydra::arguments::MSqPlus, hydra::arguments::MSqMinus)>,
dafne::Amplitude<hydra::arguments::MSqPlus, hydra::arguments::MSqMinus, 2, dafne::BreitWignerPropagator<dafne::Resonance<hydra::PWave, 1, 2, false, false, 3, void ()>, 2,
hydra_thrust::complex (double)>, hydra_thrust::complex (hydra::arguments::MSqPlus, hydra::arguments::MSqMinus)>, dafne::Amplitude<hydra::arguments::MSqPlus,
hydra::arguments::MSqMinus, 8, dafne::GLassPropagator<dafne::Resonance<hydra::SWave, 1, 3, true, false, 2, void ()>, 8, hydra_thrust::complex (double)>,
hydra_thrust::complex (hydra::arguments::MSqPlus, hydra::arguments::MSqMinus)>, hydra::Lambda<(lambda at
/Users/dicanto/cernbox/Dafne/include/physics/Amplitudes.h:44:29), 2> >, hydra::Sum<dafne::Amplitude<hydra::arguments::MSqPlus, hydra::arguments::MSqMinus, 2,
dafne::GounarisSakuraiPropagator<dafne::Resonance<hydra::PWave, 3, 2, true, false, 1, void ()>, 2, hydra_thrust::complex (double)>, hydra_thrust::complex
(hydra::arguments::MSqPlus, hydra::arguments::MSqMinus)>, dafne::Amplitude<hydra::arguments::MSqPlus, hydra::arguments::MSqMinus, 2,
dafne::BreitWignerPropagator<dafne::Resonance<hydra::PWave, 1, 3, false, false, 2, void ()>, 2, hydra_thrust::complex (double)>, hydra_thrust::complex
(hydra::arguments::MSqPlus, hydra::arguments::MSqMinus)>, dafne::Amplitude<hydra::arguments::MSqPlus, hydra::arguments::MSqMinus, 8,
dafne::GLassPropagator<dafne::Resonance<hydra::SWave, 1, 2, true, false, 3, void ()>, 8, hydra_thrust::complex (double)>, hydra_thrust::complex
(hydra::arguments::MSqPlus, hydra::arguments::MSqMinus)>, hydra::Lambda<(lambda at /Users/dicanto/cernbox/Dafne/include/physics/Amplitudes.h:44:29), 2> > >' requested here
auto model = time_dependent_rate(tau,x,y,Adir,Abar);
^
/Users/dicanto/MySoftware/Hydra-3/Hydra/hydra/detail/Compose.h:108:1: note: candidate template ignored: requirement 'detail::all_true<false, true, true>::value' was not satisfied
[with T0 = dafne::TimeDependentRate<hydra_thrust::complex, hydra_thrust::complex, hydra_thrust::complex, hydra_thrust::complex >, T1 =
hydra::Sum<dafne::Amplitude<hydra::arguments::MSqPlus, hydra::arguments::MSqMinus, 2, dafne::GounarisSakuraiPropagator<dafne::Resonance<hydra::PWave, 2, 3, true, false, 1,
void ()>, 2, hydra_thrust::complex (double)>, hydra_thrust::complex (hydra::arguments::MSqPlus, hydra::arguments::MSqMinus)>,
dafne::Amplitude<hydra::arguments::MSqPlus, hydra::arguments::MSqMinus, 2, dafne::BreitWignerPropagator<dafne::Resonance<hydra::PWave, 1, 2, false, false, 3, void ()>, 2,
hydra_thrust::complex (double)>, hydra_thrust::complex (hydra::arguments::MSqPlus, hydra::arguments::MSqMinus)>, dafne::Amplitude<hydra::arguments::MSqPlus,
hydra::arguments::MSqMinus, 8, dafne::GLassPropagator<dafne::Resonance<hydra::SWave, 1, 3, true, false, 2, void ()>, 8, hydra_thrust::complex (double)>,
hydra_thrust::complex (hydra::arguments::MSqPlus, hydra::arguments::MSqMinus)>, hydra::Lambda<(lambda at
/Users/dicanto/cernbox/Dafne/include/physics/Amplitudes.h:44:29), 2> >, Ts = <hydra::Sum<dafne::Amplitude<hydra::arguments::MSqPlus, hydra::arguments::MSqMinus, 2,
dafne::GounarisSakuraiPropagator<dafne::Resonance<hydra::PWave, 3, 2, true, false, 1, void ()>, 2, hydra_thrust::complex (double)>, hydra_thrust::complex
(hydra::arguments::MSqPlus, hydra::arguments::MSqMinus)>, dafne::Amplitude<hydra::arguments::MSqPlus, hydra::arguments::MSqMinus, 2,
dafne::BreitWignerPropagator<dafne::Resonance<hydra::PWave, 1, 3, false, false, 2, void ()>, 2, hydra_thrust::complex (double)>, hydra_thrust::complex
(hydra::arguments::MSqPlus, hydra::arguments::MSqMinus)>, dafne::Amplitude<hydra::arguments::MSqPlus, hydra::arguments::MSqMinus, 8,
dafne::GLassPropagator<dafne::Resonance<hydra::SWave, 1, 2, true, false, 3, void ()>, 8, hydra_thrust::complex (double)>, hydra_thrust::complex
(hydra::arguments::MSqPlus, hydra::arguments::MSqMinus)>, hydra::Lambda<(lambda at /Users/dicanto/cernbox/Dafne/include/physics/Amplitudes.h:44:29), 2> >,
dafne::MixingG<false, hydra::arguments::DecayTime, hydra_thrust::complex (hydra::arguments::DecayTime)>, dafne::MixingG<true, hydra::arguments::DecayTime,
hydra_thrust::complex (hydra::arguments::DecayTime)>>]
compose(T0 const& F0, T1 const& F1, Ts const&...Fs){
^
1 error generated.
make[2]: *** [CMakeFiles/test_cpp.dir/src/test.cpp.o] Error 1
make[1]: *** [CMakeFiles/test_cpp.dir/all] Error 2
make: *** [all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants