Bernie Bright writes:
> Compiling YASim with the new Intel C++ V6 compiler gives the following
> warning:
> 
> ../../../../src/FDM/YASim/Model.cpp(260): warning #175: subscript out of
> range
>       float dist = ground[4] - Math::dot3(ground, _wingCenter);

This is definitely a typo/bug.  ground[] is defined as a 4 element
array right before, so should only be refering to grount[0] -
ground[3].  Andy, did you mean to say ground[3] here?

Curt.
-- 
Curtis Olson   IVLab / HumanFIRST Program       FlightGear Project
Twin Cities    [EMAIL PROTECTED]                  [EMAIL PROTECTED]
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to