This commit is contained in:
Eh2406 2017-12-20 16:59:51 -05:00
parent cac986d87e
commit 982acc9bf6
2 changed files with 8 additions and 0 deletions

View File

@ -108,6 +108,12 @@ impl Kurtosis {
}
impl core::default::Default for Kurtosis {
fn default() -> Kurtosis {
Kurtosis::new()
}
}
impl Estimate for Kurtosis {
#[inline]
fn add(&mut self, x: f64) {

View File

@ -1,3 +1,5 @@
#![cfg_attr(feature = "cargo-clippy", allow(float_cmp, map_clone))]
extern crate average;
#[cfg(feature = "serde")]
extern crate serde_json;