From 14cec421e0b3836efb28642d78d223b9809726e2 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Mon, 9 Sep 2024 15:33:10 -0700 Subject: [PATCH] fix test --- fixed_wide/src/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fixed_wide/src/tests.rs b/fixed_wide/src/tests.rs index 43fa2ab..2f9aaa6 100644 --- a/fixed_wide/src/tests.rs +++ b/fixed_wide/src/tests.rs @@ -65,7 +65,7 @@ fn test_sqrt_zero(){ #[test] fn test_sqrt_low(){ let a=I32F32::HALF; - let b=a*a; + let b=a.fixed_mul(a); assert_eq!(b.sqrt(),a); } fn find_equiv_sqrt_via_f64(n:I32F32)->I32F32{