From 0dd60c0d632144c946a52bba436db145fa356c7e Mon Sep 17 00:00:00 2001 From: Angel <59970528+angeld23@users.noreply.github.com> Date: Tue, 30 Sep 2025 13:00:13 -0400 Subject: [PATCH] Fix bisect function to calculate average correctly --- src/structure.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structure.rs b/src/structure.rs index 89dcbfd9..50e458c7 100644 --- a/src/structure.rs +++ b/src/structure.rs @@ -644,7 +644,7 @@ where #[inline] fn bisect(self, other: Self) -> Self { let half = cast(0.5f64).unwrap(); - Self::normalize((self - other) * half + self) + Self::normalize((self + other) * half) } /// A full rotation.