diff options
Diffstat (limited to 'boost/accumulators/statistics/pot_tail_mean.hpp')
-rw-r--r-- | boost/accumulators/statistics/pot_tail_mean.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/boost/accumulators/statistics/pot_tail_mean.hpp b/boost/accumulators/statistics/pot_tail_mean.hpp index a78043fce2..96f4dc1f27 100644 --- a/boost/accumulators/statistics/pot_tail_mean.hpp +++ b/boost/accumulators/statistics/pot_tail_mean.hpp @@ -90,6 +90,14 @@ namespace impl is_same<LeftRight, left>::value ? args[quantile_probability] : 1. - args[quantile_probability] , -xi_hat); } + + // make this accumulator serializeable + template<class Archive> + void serialize(Archive & ar, const unsigned int file_version) + { + ar & sign_; + } + private: short sign_; // if the fit parameters from the mirrored left tail extreme values are used, mirror back the result }; |