AP_NavEKF: float to double promotion via tan instead of tanf

This commit is contained in:
Tom Pittenger 2015-05-15 09:01:52 -07:00 committed by Andrew Tridgell
parent 5f677c2b5b
commit e987173ffb

View File

@ -727,7 +727,7 @@ void SmallEKF::fuseCompass()
float t5757 = magX*t5756;
float t5758 = t5747-t5752+t5757;
float t5759 = t5742*t5758;
float t5723 = tan(t5759);
float t5723 = tanf(t5759);
float t5760 = sq(t5723);
float t5761 = t5760+1.0f;
float t5762 = 1.0f/sq(t5741);