From e3962e8775a7d6bcb809695c4fbcc73a1e0a8b9b Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Thu, 2 Apr 2015 04:12:48 -0400 Subject: [PATCH] FRAC_2_SQRTPI was renamed to FRAC_2_SQRT_PI Signed-off-by: Anders Kaseorg --- src/traits/structure.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/traits/structure.rs b/src/traits/structure.rs index 52b3a100..adfdd165 100644 --- a/src/traits/structure.rs +++ b/src/traits/structure.rs @@ -425,7 +425,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 }