ssmkit  master-68aed98
identity.hpp
Go to the documentation of this file.
1 
7 #ifndef SSMPACK_FILTER_RESAMPLER_IDENTITY
8 #define SSMPACK_FILTER_RESAMPLER_IDENTITY
9 
10 namespace ssmkit {
11 namespace filter {
12 namespace resampler {
13 
16 struct Identity {
17  template<class Particles, class Weights>
18  void operator()(Particles &pars, Weights &w) {}
19 };
20 
21 } // namespace resampler
22 } // namespace filter
23 } // namespace ssmkit
24 #endif //SSMPACK_FILTER_RESAMPLER_IDENTITY
void operator()(Particles &pars, Weights &w)
Definition: identity.hpp:18
Returns same particles and weights.
Definition: identity.hpp:16