Skip to content

Commit

Permalink
Make a cosmetic adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanUkhov committed Sep 2, 2024
1 parent de14419 commit 3ead9af
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/lambert_w.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,26 +61,26 @@ where
fn lambert_wm1(self) -> Self;
}

impl LambertW for f64 {
impl LambertW for f32 {
#[inline]
fn lambert_w0(self) -> Self {
lambert_w::lambert_w0(self)
lambert_w::lambert_w0f(self)
}

#[inline]
fn lambert_wm1(self) -> Self {
lambert_w::lambert_wm1(self)
lambert_w::lambert_wm1f(self)
}
}

impl LambertW for f32 {
impl LambertW for f64 {
#[inline]
fn lambert_w0(self) -> Self {
lambert_w::lambert_w0f(self)
lambert_w::lambert_w0(self)
}

#[inline]
fn lambert_wm1(self) -> Self {
lambert_w::lambert_wm1f(self)
lambert_w::lambert_wm1(self)
}
}

0 comments on commit 3ead9af

Please sign in to comment.