fix Unwrapped::recip to use unwrapped_recip, not recip

This commit is contained in:
Trevor Spiteri 2020-10-20 21:45:20 +02:00
parent 6ec8433128
commit db051272ca
1 changed files with 1 additions and 1 deletions

View File

@ -642,7 +642,7 @@ impl<F: Fixed> Unwrapped<F> {
/// ```
#[inline]
pub fn recip(self) -> Unwrapped<F> {
Unwrapped(self.0.recip())
Unwrapped(self.0.unwrapped_recip())
}
/// Multiply and add. Returns `self` × `mul` + `add`.