fix Unwrapped::recip to use unwrapped_recip, not recip
This commit is contained in:
parent
6ec8433128
commit
db051272ca
|
@ -642,7 +642,7 @@ impl<F: Fixed> Unwrapped<F> {
|
||||||
/// ```
|
/// ```
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn recip(self) -> Unwrapped<F> {
|
pub fn recip(self) -> Unwrapped<F> {
|
||||||
Unwrapped(self.0.recip())
|
Unwrapped(self.0.unwrapped_recip())
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Multiply and add. Returns `self` × `mul` + `add`.
|
/// Multiply and add. Returns `self` × `mul` + `add`.
|
||||||
|
|
Loading…
Reference in New Issue