From ff1d9f1b689ebdea536530dfca6fbed5f0068f34 Mon Sep 17 00:00:00 2001
From: Alexander Nguyen <alexander.nguyen@stud.hfm-karlsruhe.de>
Date: Sun, 09 Mar 2025 18:41:25 +0100
Subject: [PATCH] fix: corrected wrong formula

---
 sources/classes/sox-hoaencode.lisp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sources/classes/sox-hoaencode.lisp b/sources/classes/sox-hoaencode.lisp
index 8017c38..a7541c6 100644
--- a/sources/classes/sox-hoaencode.lisp
+++ b/sources/classes/sox-hoaencode.lisp
@@ -89,7 +89,7 @@
             (2 
                 (ecase (abs degree)
                     (0 (- (/ (* 3 (expt (sin phi) 2)) 2) (/ 1 2)))
-                    (1 (/ (* 3 (expt (sin phi) 2)) 2))
+                    (1 (/ (* 3 (* (sin phi) 2)) 2))
                     (2 (* 3 (expt (cos phi) 2)))
                 ))
             (3 

--
Gitblit v1.9.1