From 8eac88efe9865038e2626783b9d9b8a9261fd7aa Mon Sep 17 00:00:00 2001
From: david <david>
Date: Wed, 19 Feb 2003 17:41:53 +0000
Subject: [PATCH] Fixed calibrated airspeed output so that it accounts for
 wind.

---
 src/FDM/YASim/YASim.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/FDM/YASim/YASim.cxx b/src/FDM/YASim/YASim.cxx
index f8c109abd..80bc0970d 100644
--- a/src/FDM/YASim/YASim.cxx
+++ b/src/FDM/YASim/YASim.cxx
@@ -368,7 +368,7 @@ void YASim::copyFromYASim()
     wind[2] = get_V_down_airmass() * FT2M * -1.0;
     Math::tmul33(xyz2ned, wind, wind);              // Wind in global
     Math::sub3(s->v, wind, v);                      // V - wind in global
-    Math::vmul33(s->orient, s->v, v);               // to body coordinates
+    Math::vmul33(s->orient, v, v);               // to body coordinates
     _set_Velocities_Wind_Body(v[0]*M2FT, -v[1]*M2FT, -v[2]*M2FT);
     _set_V_rel_wind(Math::mag3(v)*M2FT); // units?