AP_Math: fixed double fill_nanf()

This commit is contained in:
Andrew Tridgell 2021-07-09 19:41:43 +10:00
parent 168e860f70
commit f343c8501b

View File

@ -412,7 +412,7 @@ void fill_nanf(float *f, uint16_t count)
void fill_nanf(double *f, uint16_t count)
{
while (count--) {
*f++ = 0;
*f++ = std::numeric_limits<double>::signaling_NaN();
}
}
#endif