From d06ad504bb0a7ee756bbe985252797406d56761e Mon Sep 17 00:00:00 2001
From: Maurice Zimmnau <zimmnau@ilr.rwth-aachen.de>
Date: Thu, 20 Feb 2025 14:38:20 +0100
Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Co-authored-by: Florian Schültke <florian.schueltke@ilr.rwth-aachen.de>
---
 aerodynamic_analysis/src/methods/liftingLineForTAW.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aerodynamic_analysis/src/methods/liftingLineForTAW.cpp b/aerodynamic_analysis/src/methods/liftingLineForTAW.cpp
index 24cf161b..834def0d 100644
--- a/aerodynamic_analysis/src/methods/liftingLineForTAW.cpp
+++ b/aerodynamic_analysis/src/methods/liftingLineForTAW.cpp
@@ -811,7 +811,7 @@ double liftingLineForTAW::getFuselageCM0(const uint16_t& machID) {
     double deltaFuselage = -1.8 * (1. - 2.5 * geom2::measure::width_max(theFuselage) / geom2::measure::length(theFuselage))
                            * (PI * geom2::measure::width_max(theFuselage) * geom2::measure::height_max(theFuselage) * geom2::measure::length(theFuselage))
                            / (4. * geom2::measure::reference_area(liftingSurfaces.front()) * geom2::measure::mean_aerodynamic_chord(liftingSurfaces.front()))
-                           * (myLL_vec.at(machID).theLLOutputPt->CLatAoA0 / ( convertRadian(DEGREE, myLL_vec.at(machID).theLLOutputPt->dCLtodAoA_wf)));
+                           * (myLL_vec.at(machID).theLLOutputPt->CLatAoA0 / ( convertUnit(RADIAN, DEGREE, myLL_vec.at(machID).theLLOutputPt->dCLtodAoA_wf)));
     return deltaFuselage;
 }
 
-- 
GitLab