diff options
Diffstat (limited to 'boost/accumulators/statistics/pot_quantile.hpp')
-rw-r--r-- | boost/accumulators/statistics/pot_quantile.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/boost/accumulators/statistics/pot_quantile.hpp b/boost/accumulators/statistics/pot_quantile.hpp index 470bdbace3..ecd49f2cb2 100644 --- a/boost/accumulators/statistics/pot_quantile.hpp +++ b/boost/accumulators/statistics/pot_quantile.hpp @@ -80,6 +80,13 @@ namespace impl , -xi_hat ) - 1.)); } + + // 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 |