From d49cc2f75059843ad95f4c2fc62edd0a78ca92b6 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 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 }