mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
AP_NavEKF: float to double promotion via tan instead of tanf
This commit is contained in:
parent
5f677c2b5b
commit
e987173ffb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user