X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/7d51ab7a8c68b22fe6fa54d9cfe7b1a997a23de5..befaff140ab7a986e45c3e4d73ab5ed17eab3e8d:/statistics.h?ds=inline diff --git a/statistics.h b/statistics.h index 7e3fb2e..28aa913 100644 --- a/statistics.h +++ b/statistics.h @@ -25,7 +25,7 @@ public: double get_sum() const { return sum; } double get_mean() const { return mean; } double get_variance() const { return sqdiff_sum / count; } - double get_stddev() const { return sqrt(get_variance()); } + double get_stddev() const { return std::sqrt(get_variance()); } private: int count;