summaryrefslogtreecommitdiff
path: root/boost/accumulators/statistics/extended_p_square_quantile.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/accumulators/statistics/extended_p_square_quantile.hpp')
-rw-r--r--boost/accumulators/statistics/extended_p_square_quantile.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/boost/accumulators/statistics/extended_p_square_quantile.hpp b/boost/accumulators/statistics/extended_p_square_quantile.hpp
index a17843d774..f57304cd04 100644
--- a/boost/accumulators/statistics/extended_p_square_quantile.hpp
+++ b/boost/accumulators/statistics/extended_p_square_quantile.hpp
@@ -185,6 +185,17 @@ namespace impl
}
}
+
+ public:
+ // make this accumulator serializeable
+ // TODO: do we need to split to load/save and verify that the parameters did not change?
+ template<class Archive>
+ void serialize(Archive & ar, const unsigned int file_version)
+ {
+ ar & probabilities;
+ ar & probability;
+ }
+
private:
array_type probabilities;