diff --git a/include/hpp/statistics/bin.hh b/include/hpp/statistics/bin.hh index 82806ef72a41392726d80165b38970b6a1504cfa..1b188591b1f9dad6e951fe979049c70415591e07 100644 --- a/include/hpp/statistics/bin.hh +++ b/include/hpp/statistics/bin.hh @@ -129,6 +129,12 @@ namespace hpp { return bins_.end(); } + /// Remove all element + void clear () + { + bins_.clear(); + } + protected: /// Constructor Statistics();