chore: made clippy happy
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
#![allow(
|
||||
clippy::excessive_precision,
|
||||
clippy::too_many_lines,
|
||||
clippy::unreadable_literal,
|
||||
clippy::many_single_char_names
|
||||
)]
|
||||
|
||||
#[rustfmt::skip]
|
||||
mod consts {
|
||||
pub const ERF_IMP_AN: &[f64] = &[ 0.00337916709551257388990745, -0.00073695653048167948530905, -0.374732337392919607868241, 0.0817442448733587196071743, -0.0421089319936548595203468, 0.0070165709512095756344528, -0.00495091255982435110337458, 0.000871646599037922480317225 ];
|
||||
@@ -45,6 +52,7 @@ mod consts {
|
||||
pub const ERV_INV_IMP_GD: &[f64] = &[ 1.0, 0.0845746234001899436914, 0.00282092984726264681981, 0.468292921940894236786e-4, 0.399968812193862100054e-6, 0.161809290887904476097e-8, 0.231558608310259605225e-11 ];
|
||||
}
|
||||
|
||||
#[allow(clippy::wildcard_imports)]
|
||||
use consts::*;
|
||||
|
||||
pub fn erf(x: f64) -> f64 {
|
||||
|
||||
Reference in New Issue
Block a user