diff options
Diffstat (limited to 'vendor/libm/src/math/erff.rs')
-rw-r--r-- | vendor/libm/src/math/erff.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/libm/src/math/erff.rs b/vendor/libm/src/math/erff.rs index 384052293..f74d4b632 100644 --- a/vendor/libm/src/math/erff.rs +++ b/vendor/libm/src/math/erff.rs @@ -130,6 +130,7 @@ fn erfc2(mut ix: u32, mut x: f32) -> f32 { /// Calculates an approximation to the “error function”, which estimates /// the probability that an observation will fall within x standard /// deviations of the mean (assuming a normal distribution). +#[cfg_attr(all(test, assert_no_panic), no_panic::no_panic)] pub fn erff(x: f32) -> f32 { let r: f32; let s: f32; |