From db051272ca5643061d8ecd59afaaaf6c6c76d714 Mon Sep 17 00:00:00 2001 From: Trevor Spiteri Date: Tue, 20 Oct 2020 21:45:20 +0200 Subject: [PATCH] fix Unwrapped::recip to use unwrapped_recip, not recip --- src/unwrapped.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unwrapped.rs b/src/unwrapped.rs index 3555709..e822a02 100644 --- a/src/unwrapped.rs +++ b/src/unwrapped.rs @@ -642,7 +642,7 @@ impl Unwrapped { /// ``` #[inline] pub fn recip(self) -> Unwrapped { - Unwrapped(self.0.recip()) + Unwrapped(self.0.unwrapped_recip()) } /// Multiply and add. Returns `self` × `mul` + `add`.