AP_Math: fixed double fill_nanf()

This commit is contained in:
Andrew Tridgell
2021-07-10 07:20:41 +10:00
parent 168e860f70
commit f343c8501b
+1 -1
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