From 1bc3c5eca0fc9ca8f344b0091bf56e6e6254885c Mon Sep 17 00:00:00 2001
From: andy <andy>
Date: Fri, 13 Feb 2004 18:12:08 +0000
Subject: [PATCH] Yank the sqrt() terms from the twist calculations.  They were
 causing solution failures for reasons I have still to investigate.

---
 src/FDM/YASim/Wing.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/FDM/YASim/Wing.cpp b/src/FDM/YASim/Wing.cpp
index f0a7a616f..8816cfa99 100644
--- a/src/FDM/YASim/Wing.cpp
+++ b/src/FDM/YASim/Wing.cpp
@@ -349,7 +349,7 @@ void Wing::compile()
             sr->surface = s;
             sr->weight = chord * segWid;
             s->setTotalDrag(sr->weight);
-            s->setTwist(_twist * Math::sqrt(frac));
+            s->setTwist(_twist * frac);
             _surfs.add(sr);
 
             if(_mirror) {
@@ -360,7 +360,7 @@ void Wing::compile()
                 sr->surface = s;
                 sr->weight = chord * segWid;
                 s->setTotalDrag(sr->weight);
-                s->setTwist(_twist * Math::sqrt(frac));
+                s->setTwist(_twist * frac);
                 _surfs.add(sr);
             }
         }