Update of /cvsroot/jsbsim/JSBSim/utils/aeromatic++/Systems
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv4491/Systems
Modified Files:
Controls.cpp
Log Message:
Proper indexing
Index: Controls.cpp
===================================================================
RCS file: /cvsroot/jsbsim/JSBSim/utils/aeromatic++/Systems/Controls.cpp,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -r1.37 -r1.38
*** Controls.cpp 2 Jun 2016 22:05:52 -0000 1.37
--- Controls.cpp 2 Jun 2016 22:08:06 -0000 1.38
***************
*** 140,145 ****
_aircraft->_CLalpha.at(0) = CLaw[0]+CLah[0]*Sh/Sw*(1.0f-deda);
! _aircraft->_CLalpha.at(0) = CLaw[1];
! _aircraft->_CLalpha.at(0) = CLaw[2];
// *** Pitch moment ***
--- 140,145 ----
_aircraft->_CLalpha.at(0) = CLaw[0]+CLah[0]*Sh/Sw*(1.0f-deda);
! _aircraft->_CLalpha.at(1) = CLaw[1];
! _aircraft->_CLalpha.at(2) = CLaw[2];
// *** Pitch moment ***
|