diff --git a/src/traits/structure.rs b/src/traits/structure.rs index 93b0b4dd..d662394e 100644 --- a/src/traits/structure.rs +++ b/src/traits/structure.rs @@ -427,7 +427,7 @@ macro_rules! impl_base_float( /// 2.0 / sqrt(pi). fn frac_2_sqrtpi() -> $n { - $n::consts::FRAC_2_SQRTPI + $n::consts::FRAC_2_SQRT_PI }